SYBASE Adaptive Server Anywhere
*******************************

Maintenance Release Notes for Version 8.0.1
*******************************************

Description of available downloads
==================================

    Express Bug Fixes
    ===================
    A subset of the software with one or more bug fixes. The bug fixes are 
    listed in the "readme" file for the update. A Bug Fix update may only be
    applied to installed software with the same version number.

    Some testing has been performed on the software, but full testing has not
    been performed. Customers are discouraged from distributing these files
    with their application unless they verify the suitability of the software
    themselves.

    Verified Bug Fixes
    ==================
    A complete set of the software with one or more bug fixes. The bug fixes are 
    listed in the "readme" file for the update. A Bug Fix update may only be
    applied to installed software with the same version number.

    Full testing has been performed on the software.

    Maintenance Release
    ===================
    A complete set of software that upgrades installed software from an older
    version with the same major version number (version number format is 
    major.minor.patch). Bug fixes and other changes are listed in the "readme"
    file for the upgrade.

    For answers to commonly asked questions please use the following URl:
    http://my.sybase.com/detail?id=1019567

Introduction
============
Release 8.0.1 is a regularly-scheduled maintenance release,
containing fixes to reported problems with the software
as well as some new features.

8.0.1 bug fixes
===============
The following is a list of bugs fixed in this version of the software,
as compared to the 8.0.0 release.



                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **   DBLIB Client Library   **                      
                      ******************************                      

================(Release Build  - Engineering Case #270319)================

If a host variable is declared as follows:



EXEC SQL BEGIN DECLARE SECTION;

char * str_host_var;

EXEC SQL END DECLARE SECTION;



sqlpp does not know the length of str_host_var.  When connected to 
a blank padded database with the option ANSI_BLANKS ON, data fetched 
into a host variable with unknown length was not correctly blank padded 
or null terminated.  This has been fixed so that in this case the fetched 
data will be null terminated but not blank padded.



This problem could have caused MobiLink to fail on blank padded database 
with the ANSI_BLANKS option ON.



Note that great care must be taken when using host variables with unknown 
length to avoid over-writing more memory than was allocated for the 
host variable, and using host variables with unknown lengths should 
be avoided where possible.  (This is documented in the "Using host variables" 
section in "The Embedded SQL Interface chapter" in the "Programming 
Interface Guide" book).


================(Release Build  - Engineering Case #266363)================

The estimated number of rows returned by a single-row group by query 
block was being incorrectly set. The correct estimate is now set to 
1 row.


================(Release Build  - Engineering Case #240932)================

A new TCPIP option, LocalOnly, allows a client to specify that it should 
only connect to a server on the local machine, if one exists. If no 
server with the matching server name is found on the local machine, 
a server will not be autostarted. The option LocalOnly is a boolean, 
(i.e. it only accepts values of YES or NO, or their equivalents). The 
default is NO and is only supported on the TCPIP port, on the client. 
A similar effect can be obtained by specifying "HOST=localhost;DoBroadcast=direct", 
except that if there are two or more servers running on the local machine, 
only one of them will receive the broadcast, so it's possible that the 
client will not find the server at all. By using LocalOnly=YES, the 
regular broadcast mechanism is used, but broadcast responses from servers 
on other machines are ignored.



================(Release Build  - Engineering Case #270547)================

Multi-threaded client applications could have hung, if they were using 
TLS encryption. This has been fixed.


================(Release Build  - Engineering Case #269317)================

If a UNIX application had a dblib or odbc connection environment defined, 
at the time that it did a fork() call, (i.e. created a new process which 
was a "clone" of itself), and the child process did not immediately 
do an exec() call, (i.e. replace the process space), then the parent's 
communications could have  become corrupted and cause it to hang or 
die.  If the parent was connected to a server via tcpip, then the parent 
could have received a SIGPIPE signal, which if not handled would have 
caused the application to terminate.

With this fix, the child of an application that executes a fork() while 
having one or more environments defined will not be allowed to use any 
odbc or dblib, (and hence dbtools), API calls, (i.e. all calls to odbc 
and dblib executed by the child will immediately return the error, COMMUNICATION_ERROR, 
if using ODBC, and SQLCODE -85 if using dblib).

Example 1: Child process is not allowed to talk to server
	Parent Application				Child
	SQLAllocEnv()
	:
	(any sequence)
	:
	fork()   --------------------------------->	:	
	:						:
	(all calls are still allowed)			(all odbc/dblib API calls are disallowed)
In this example, the application creates an ODBC environment, performs 
any number of calls (connections, queries, etc), and then forks a child 
process.  The child process will receive an  error code.  The parent 
process is still allowed to perform operations on its connections.

Example 2: Child process is allowed to open connections to server
	Parent Application				Child
	SQLAllocEnv()
	:
	(any sequence)
	:
	SQLFreeEnv()
	:
	fork()   --------------------------------->	:
	:						:
							SQLAllocEnv()			SQLAllocEnv() - child creates its own ODBC environment
	:						:
	(all calls are allowed)				(all calls are allowed)
In this example, the application creates and uses an ODBC environment.  
Before it forks a child it disconnects any connections and frees the 
ODBC environment.  The child process is then able to create its own 
environment and connect to the server.  Note: a simplification of this 
example would have the parent process simply doing a fork() without 
any prior ODBC calls; in this case, the child is also allowed to communicate 
to a server.

Example 3: Typical method to spawn a new child process - this is OK
	Parent Application				Child
	:
	(any sequence of calls)
	:
	fork()   --------------------------------->	:
	:						:
	(any sequence of calls)				exec()	- child process replaces its address 
space with a new executable
This is the typical sequence that is used when an application want 
to start another process.   This sequence does not cause any communication 
problems with or without this fix.

Example 4: Spawn a daemon process - with this fix, this is OK, but 
before this fix, this would cause the parent to die
	Parent Application		Child			Daemon
	SQLAllocEnv()
	:
	(any sequence of calls)
	:
	fork()   --------------------->	:
	:				:
	(any sequence of calls)		fork() --------------->	:
	:				:			:
	:				:			exec()	- daemon process replaces its address space with a 
new executable
	:				exit() - child terminates
This example illustrates the sequence that is used typically to start 
a daemon process. i.e. a child process that is disassociated with its 
parent.   Prior to this change, this sequence will cause the parent 
to experience communication problems.  A work-around is to not allow 
the first child process to exit - rather it should exec another process, 
as shown in this next example:

Example 5: Spawn a daemon process (work-around communications problems)
	Parent Application		Child			Daemon
	SQLAllocEnv()
	:
	(any sequence of calls)
	:
	fork()   --------------------->	:
	:				:
	(any sequence of calls)		fork() --------------->	:
	:				:			:
	:				:			exec()	- daemon process replaces its address space with a 
new executable
	:				exec( "/bin/true" ) - child replaces its address space and execute 
the "/bin/true" program
In this example, the first child executes a dummy program that does 
nothing.



================(Release Build  - Engineering Case #270769)================

The error "Specified database is invalid" would be displayed when trying 
to connect to an engine with an engine name or database name containing 
a space.
For example,	
dbping -d -c "uid=dba;pwd=sql;eng=space test1;dbn=space test2;dbf=asademo.db;astop=no".
This connection string now works.


================(Release Build  - Engineering Case #271280)================

The dblocate utility, (or components using the connection dialog Find 
Servers), could have crashed or failed to find servers, when run on 
Windows 2000 or Windows XP. This has now been fixed.


================(Release Build  - Engineering Case #271921)================

If a NetWare embedded SQL application was connected to a server using 
the SPX link, calling the db_get_property function would have caused 
the NetWare server to abend. The correct result is now returned.


================(Release Build  - Engineering Case #242743)================

If a TCPIP or SPX connection is terminated abnormally, (i.e. without 
a database disconnect), a message is now displayed on the server console, 
(if the -z switch was specified), with the user name and the reason 
that the connection was dropped. Shared memory connections already have 
such a message - "Disconnecting shared memory client, process id not 
found". A message is also displayed if a DBA user drops a connection 
using the DROP CONNECTION statement. This message contains the user 
name of the user who executed the DROP CONNECTION, and the connection 
number and user name of the connection that was dropped.


================(Release Build  - Engineering Case #272631)================

Two prepared statements could have had the same statement number, if 
the EXEC SQL PREPARE statement-name syntax was used, where statement-name 
was an identifier and multiple connections were used.  This could also 
have occurred if a disconnect and connect was done.  There were no problems 
if all statement-names were host variables. Duplicate statement numbers 
could also have caused the wrong statement to be executed or opened.  
An error would have occurred on EXEC SQL DROP STATEMENT, if both statements 
with duplicate statement numbers were dropped. This has been fixed.
Note that identifier statement-names should not be used with multiple 
SQLCAs, since duplicate statement numbers can occur.



================(Release Build  - Engineering Case #272907)================

If two or more TCP/IP connections were made from the same application, 
and the first one used the DoBroadcast parameter, any subsequent connections 
that did not, could have crashed the application on shutdown, (or when 
DB_Fini was called). This has been fixed.


================(Release Build  - Engineering Case #272293)================

In rare situations, the server may have crashed if a stored procedure 
or user-defined function, called a single row
select that contained another user-defined function. This problem has 
been fixed.


================(Release Build  - Engineering Case #275477)================

If dbisql or Sybase Central attempted to use an ODBC DSN containing 
an encrypted password, an "invalid password" error was returned. This 
has been fixed.


================(Release Build  - Engineering Case #276250)================

Calling db_stop_database(...) with a sqlca, that had not been used to 
connect to the database, would have caused the application to crash. 
This is now fixed.




                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **   ODBC Client Library    **                      
                      ******************************                      

================(Release Build  - Engineering Case #270335)================

If an ODBC application called SQLFetch, after a SQLMoreResults, without 
an intervening SQLBindCol, the SQLFetch call would have caused a client 
crash. This has been fixed.


================(Release Build  - Engineering Case #271305)================

If the option TRUNCATE_TIMESTAMP_VALUES was set to ON, applications 
connecting using TDS may have caused the server to crash with assertion 
failed 103102. This has been fixed


================(Release Build  - Engineering Case #272142)================

Executing a query with Apache and PHP, when connecting to ASA, if the 
query takes too long to execute. it could return no data or an error. 
This has been fixed.


================(Release Build  - Engineering Case #271065)================

When connecting over TCPIP and using the DoBroadcast=NONE parameter 
to skip the UDP broadcast, the client makes a TCP connection, and then 
verifies that the name of the server found is the same as the one requested. 
With this change, the client can specify VerifyServerName=NO, (or Verify=NO), 
to skip verification of the server name. This effectively allows ASA 
clients to connect to an ASA server, if they know ONLY an IP address 
and port. This is not the recommended method of connecting to an ASA 
server, but is now available for customers who need such functionality.

Note that a server name must still be specified in the connect string, 
but it will be ignored. The VerifyServerName parameter is only used 
if DoBroadcast=NONE is specified, and is only supported on the client.


================(Release Build  - Engineering Case #272599)================

An ODBC 2.0 application could have received a communication error when 
fetching into bound columns of type SQL_C_DEFAULT, if the database type 
was TIMESTAMP, TIME or DATE.  This has been fixed.


================(Release Build  - Engineering Case #272031)================

A number of warnings were not correctly returned by the ODBC driver.  
These warnings are now correctly returned.



================(Release Build  - Engineering Case #276169)================

An ODBC application, running with a database that had the quoted_identifier 
option set 'OFF', could have had some ODBC function calls fail. The 
driver was issuing queries that had identifies quoted, regardless of 
the option setting. The driver now issues queries, respcting the Quoted_identifier 
option setting.



================(Release Build  - Engineering Case #272692)================

Attempts to open cursors through ODBC as keyset-driven would have resulted 
in a DYNAMIC cursor, for queries with DISTINCT, GROUP-BY, or UNION. 
Attempting to use bookmarks would have failed for such cursors, as bookmarks 
are not supported for DYNAMIC cursors. For example, attempting to open 
a keyset-driven cursor over the query:

	select DISTINCT emp_lname from employee

would have resulted in a dynamic cursor instead.

Now, such cursors will be opened as STATIC, and bookmarks are supported.




                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **   OLEDB Client Library   **                      
                      ******************************                      

================(Release Build  - Engineering Case #267279)================

The ASA provider didn't support ADO client side cursor. Now with this 
fix, the ASA provider supports both client side and server side cursors. 
Although the use of multiple result sets is still not supported with 
client side cursors.


================(Release Build  - Engineering Case #265573)================

An ODBC application which called SQLGetData to retrieve data into a 
fixed-length type, (SQL_C_SLONG for example), but provided a buffer 
length greater than 300, (this buffer length would be ignored by ODBC 
for fixed-length types), would have had poor performance on these SQLGetData 
calls.  Microsoft Access is an example of an application which calls 
SQLGetData in this way.  This performance problem has been fixed.


================(Release Build  - Engineering Case #268229)================

ADO stored procedure parameters were not being passed to the server, 
if the Command.CommandType was
adCmdStoredProc and Command.Prepared was true. This has now been fixed.



================(Release Build  - Engineering Case #268304)================

The ASA provider was not releasing the IAlterTableImpl object, thus 
causing a memory leak. This has now been fixed.


================(Release Build  - Engineering Case #268379)================

The ASA provider did not release the IIndexDefinitionImpl object, causing 
a memory leak. This has now been fixed,


================(Release Build  - Engineering Case #268489)================

The ASA provider was not releasing the IConnectionPointImpl object, 
causing a memory leak. This has now been fixed.


================(Release Build  - Engineering Case #268523)================

The ASA provider was not freeing BSTR after calling SafeArrayPutElement. 
This then resulted in a memory leak. The BSTR is now freed after calling 
SafeArrayPutElement.



================(Release Build  - Engineering Case #268623)================

The ASA provider was not freeing BSTR after the Properties object was 
released. This then resulted in a memory leak. The BSTR is now freed 
when the Properties object is released.



================(Release Build  - Engineering Case #270153)================

The MDAC Data Link Component always chose ASAProv.70, if there were 
multiple versions installed. This was due to all versions of The ASA 
Provider using the same registry key, "Sybase Adaptive Server Anywhere 
Provider". This was fixed by adding the version number to the ASAProv 
registry key.


================(Release Build  - Engineering Case #269229)================

The ASA provider was not releasing the ODBC Environment Handle, which 
resulted in a memory leak. This has now been fixed.


================(Release Build  - Engineering Case #270674)================

Calling MovePrevious, in the ADO DataControl object, would have failed 
on static and dynamic cursors. This has been fixed.


================(Release Build  - Engineering Case #270891)================

The ASAProv implementation of IRowsetLocate::GetRowsAt was incorrect, 
as a result, a call to the  ADO method DataControl.MovePrevious on keyset 
cursor would have failed This has been fixed.



================(Release Build  - Engineering Case #270881)================

The ASA Provider was not allocating enough memory for connection string 
buffer. As result, the run time stack may have become corrupted. When 
using ADO, the error 'catastrophic failure', could have occurred. After 
this fix, the maximum length of the connection string is 1024 bytes.


================(Release Build  - Engineering Case #271204)================

When the ADO Command.Prepared was set to true, the ASA Provider created 
a rowset, which increased the reference count on the command object. 
As ADO never called  this rowset object, it and the command object
were not released, resulting in an memory leak. This is now fixed


================(Release Build  - Engineering Case #271204)================

When the ADO Command.Prepared was set to true, the ASA Provider created 
a rowset, which increased the reference count on the command object. 
As ADO never called  this rowset object, it and the command object
were not released, resulting in an memory leak. This is now fixed


================(Release Build  - Engineering Case #271551)================

The ASA Provider was not releasing the ODBC connection handle, if the 
connection failed, thus resulting in a memory leak. This has now been 
fixed.


================(Release Build  - Engineering Case #271629)================

The ASA Provider was not releasing the ODBC statement handle, resulting 
in a memory leak. This has now been fixed.


================(Release Build  - Engineering Case #273193)================

If an applcation set a VARCHAR field to null,  the ASA provider would 
have caused. This is now fixed.


================(Release Build  - Engineering Case #271812)================

Opening an ADOCE 3.0 or 3.1Recordset, with a select statement ,  (ie 
select id, count(line_id)  from DBA.sales_order_items  group by id), 
and moving to the last row by calling MoveLast, would have returned 
an EOF or BOF error incorrectly. This is now fixed


================(Release Build  - Engineering Case #275401)================

The OLEDB provider could have returned incorrect values for the DBCOLUMN_IDNAME 
property. As well, it  could have either crashed or returned incorrect 
information, when the values of other properties were requested. This 
problem caused the generation of XML in a MS.Net webservice application 
to be incorrect and would have caused the OLEDB sample "Rowsetviewer" 
to crash or return incorrect/incomplete results, when asked for property 
lists.
This problem,which is now fixed, could also manifest itself in the 
incorrect behaviour of ADO applications.


================(Release Build  - Engineering Case #273545)================

When fetching character data using the ASAProv provider, an error could 
have occurred, if the character column contained an empty string and 
the iSequentialStream interface was used to fetch it.  Fetching data 
larger than 512 bytes could also have failed, when using the iRowset 
GetNextRows method. Both of these problems were exhibited when trying 
to view data in a long varchar column in the "Server Explorer" of Visual 
Studio.Net This is now fixed.



================(Release Build  - Engineering Case #278035)================

Applications using the OLEDB provider could have crashed when creating 
and freeing multiple recordset objects. A reference counting issue, 
which led to the freeing of an object twice in some cases, has been 
fixed.






                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **          Other           **                      
                      ******************************                      

================(Release Build  - Engineering Case #266847)================

An application using the a_sync_db structure in dbtools.h would crash 
if DBSynnchronizeLog was called with verbose=1 and argv=NULL


================(Release Build  - Engineering Case #268398)================

There were cases when sqlpp would have generated incorrect code for 
fetching, (and storing), values from the database into host variables.  
For example, fetching from a column declared as a double into a variable 
of type char would have report no errors, but would have retrieved incorrect 
values.  This has been fixed.


================(Release Build  - Engineering Case #270770)================

If an application used the DatabaseMetaData.getTimeDateFunctions() method 
to retrieve a list of all supported time/date builtin functions, the 
list that was returned was incomplete. The functions DateFormat, DateName, 
DatePart, and DateAdd were missing. These functions are now properly 
returned. Note that existing 8.0.0 databases will need to be upgraded.


================(Release Build  - Engineering Case #273466)================

When using "dbunload -ar" to unload/reload a database, the error "syntax 
error near 'go'" could have been reported.The problem was related to 
parsing C-style(/* ... */)comments in stored procedures. It is now fixed.



================(Release Build  - Engineering Case #275442)================

After executing 'alter database remove java', the classes_version column 
of the sysinfo table would still have contained the version of the JDK 
that the database previously support. It now contains null.



================(Release Build  - Engineering Case #277669)================

If DBUNLOAD was used to unload a database which had Remote Servers defined, 
then the reload script would not have properly reloaded the database.
In particular:
1 - The CREATE SERVER and  ALTER SERVER statements would not have contained 
double quotes around the server name
2 -The CREATE EXTERNLOGIN statements would not have contained double 
quotes around the server name
nor the remote login name
3 - The CREATE EXISTING TABLE statements will not have the EXISTING 
keyword and would have had syntax errors in the column definitions

Items 3 would have caused the reload script to fail in all cases. Items 
1 and 2 would only have caused
failure if the server name or remote login name needed to be double 
quoted. These problem have now been corrected.





                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **          Server          **                      
                      ******************************                      

================(Release Build  - Engineering Case #262637)================

Statements in stored procedures, functions and triggers could have recieved 
stale values for  CURRENT TIMESTAMP, CURRENT DATE, or other 'special 
registers'.  In addition, functions with arguments consisting only of 
constants could have returned stale values. This is now fixed.


================(Release Build  - Engineering Case #276142)================

Doing inserts or updates to a proxy table, would have caused the server 
to have leaked a small amount of memory. This problem has been corrected.



================(Release Build  - Engineering Case #256621)================

If the STRING_RTRUNCATION option was 'ON' and an alter table statement 
was executed resulting in right truncation of column data then the engine 
could generate 'Assertion 200601' or a 'Fatal Error: Unknown Device 
Error'.


================(Release Build  - Engineering Case #254825)================

The database file could have grown extremely large during the recovery 
phase of startup.  If there was insufficient disk space available a 
disk full error would have been generated.


================(Release Build  - Engineering Case #265938)================

One of the rewrite optimizations is to add to the WHERE clause conjuncts 
of the form, "col1 IS NOT NULL" and "col2 IS NOT NULL", for each conjunct 
of the form "col1 = col2".  Such new conjuncts are useful if and only 
if col1 and col2 may be NULL (i.e., the columns are not declared with 
"NOT NULL"). Now the additional conjuncts are not inferred if the columns 
may not be NULL.



================(Release Build  - Engineering Case #267461)================

If a procedure was created for another user, (eg. dba creating a procedure 
for dbo), and it contained "create table" and "drop table" statements 
that did not have qualified table owners, assertion 100904 could have 
occurred when trying to apply a log containing calls to the procedure.


================(Release Build  - Engineering Case #267848)================

If a fully qualified procedure name is used in an OMNI query, then the 
server will crash. For example
	SELECT c1, somefunc(c2) FROM remote_table
where somefunc is a function and remote_table is a proxy table WILL 
work. But,
	SELECT c1, dba.somefunc(c2) FROM remote_table
WILL NOT work.



================(Release Build  - Engineering Case #267456)================

For queries containing complex WHERE or ON clauses, new exploitable 
OR conditions of the form "T.col \theta constant1 OR  ... OR T.col BETWEEN  
constant2 and constant3" may now be inferred (\theta may be one of   
=, <, <=, >, >=).


================(Release Build  - Engineering Case #267460)================

The optimizer governor sets an upper limit for the optimization time, 
proportional to the estimated cost of the current best plan found. For 
queries with expensive best plans, this upper limit may have been too 
high. This change adds a global abort condition which causes the optimizer 
to quit, if the current best plan is not replaced after costing N plan  
nodes. (I.e. if for a long time the optimizer cannot improve the best 
plan found so far then the optimizer quits), and the current best plan 
is used as the access plan.


================(Release Build  - Engineering Case #267542)================

This new optimization infers ON conjuncts for queries for which  the 
following conditions hold:
1 - The ON search condition contains an equijoin of the form "T.X = 
R.X", where T is part of the preserved side of an outer join and R is 
part of the null supplying side of an outer join.
2 - The WHERE search condition contains local conjuncts on the column 
T.X,  (i.e. conjuncts  referencing only the column T.X). Examples of 
such local conjuncts are "T.X > 20", "T.X between 10 and 30", "T.X + 
1 = 200".

New ON search conditions are now inferred that are local conjuncts 
on the null-supplying table R from the local conjuncts on the preserved 
table T. For the examples given above, the new inferred conjuncts are 
: " R.X > 20", "R.X between 10 and 30", "R.X + 1 = 200", respectively.

Example:
Q1:
select *
from T Left Outer Join R ON (T.X = R.x )
where T.X  > 20 


Q1': infer new ON conjunct "R.X > 20" 
select *
from T Left Outer Join R ON (T.X = R.x and R.x > 20  )
where T.X  > 20


================(Release Build  - Engineering Case #267870)================

Under the following circumstances, dbisql could have connected to a 
remote server, even if the remote checkbox was not checked: 
1. A personal or network server must have been running on the local 
machine
2. A network server must have been running on a remote machine, (with 
a different engine name than the local one)
3. On the dbisql connection dialog, the remote engine name must have 
been specified, the remote checkbox left unchecked and either a database 
name or database file must have been specified.


================(Release Build  - Engineering Case #268160)================

Using the tcpip parameter, broadcast=255.255.255.255, would have given 
an "invalid IP address" error and no broadcast would have been done, 
althoughthe tcpip link would have started.  Now this IP address is allowed 
with the broadcast parameter.


================(Release Build  - Engineering Case #268264)================

When a table was dropped or altered, the server would have closed all 
open cursors that referred to that table. The server could have crashed 
if one of the open cursors being closed was in the same connection as 
the one dropping or altering the table. The following example illustrates 
the problem:

	create table T(x int);
	insert into "T" values (1);
	commit;

	create function F(x int) returns int
	 begin
         		drop table T;
          		return x;
       	end;
	
	SELECT F(x) from T

The server will now disallow the execution of  "drop table T" in F() 
with a "table in use" error.



================(Release Build  - Engineering Case #266739)================

Public database options could have been dropped, even though a user 
option still existed. Now, the same error is displayed as would be  
if an attempt was made to add a user option, when no public option exists 
:

"ASA error -200: Invalid option 'the new option'-- no PUBLIC setting 
exists"


================(Release Build  - Engineering Case #268413)================

If a TCPIP or SPX connection was forcibly shut down, (eg. the server 
is stopped, DROP CONNECTION, etc.), the client application could have 
crashed. Such apps will now return a communication error.



================(Release Build  - Engineering Case #268088)================

The server may have crashed while executing a query, if the query contained 
operations on numeric data of varying lengths. This has now been fixed.


================(Release Build  - Engineering Case #268641)================

The server was ignoring the settings for the database options ALLOW_SYNC_PKEY_UPDATE 
and ALLOW_REPLICATION_PKEY_UPDATE, assuming the value for both options 
to be 'ON'. The server now takes the settings for these options into 
account when determining the elligibility of updates. Also, the default 
value for the option ALLOW_SYNC_PKEY_UPDATE has been changed from 'off' 
to 'on'. The default value for ALLOW_REPLICATION_PKEY_UPDATE was already 
'on'.


================(Release Build  - Engineering Case #268693)================

UNIX shared memory connections would have failed if the name of the 
server was greater than 31 characters. This problem has been fixed by 
truncating all server names to 31 characters in length.



================(Release Build  - Engineering Case #268904)================

If a stored procedure was called from within a batch, and the CALL statement 
contained an insufficient number of procedure arguments, then the server 
may have crashed. This would only have occurred with applications that 
connect to the server via TDS, (eg, DBISQL).The following script illustrates 
the problem:

begin
select * from dummy;
call sa_conn_activity();
end



================(Release Build  - Engineering Case #268916)================

The execution times reported by sa_get_request_times and sa_get_request_profile 
could have been incorrect, if the request log being processed contained 
interleaved requests from several connections. This has now been fixed.



================(Release Build  - Engineering Case #268925)================

The server could have crashed if a shared memory connection disconnected 
abnormally, (for example, by "drop connection").  Also, the personal 
server could have crashed if about 100 shared memory attempts to connect 
to the engine failed before a database connection was attempted, (for 
example, the client application process was killed during a connection 
attempt).  The server will no longer crash.


================(Release Build  - Engineering Case #268963)================

For queries that contained illegal join syntax, where the join involved 
a derived table, view, or complex table expression, the server would 
have returned SQLCODE -146 (SQLSTATE 53W04), but the error message would 
have contained '???' or '***' for the table names. The following example 
illustrates the problem:

SELECT T1.table_id, T1.table_name, DT.coln, DT.fkcol, DT.pkcol
FROM   SYS.SYSTABLE T1 LEFT OUTER JOIN
        ( SELECT table_id, column_name, NULL, NULL
          FROM   SYS.SYSCOLUMN
          UNION ALL
          SELECT FK.foreign_table_id, NULL, T.table_name, NULL
          FROM   SYS.SYSFOREIGNKEY FK, SYS.SYSTABLE T
          WHERE  FK.primary_table_id=T.table_id
          UNION ALL
          SELECT table_id, NULL, NULL, column_name
          FROM   SYS.SYSCOLUMN
          WHERE   pkey='Y' ) DT(table_id, coln, fkcol, pkcol)
WHERE    T1.table_id=DT.table_id
ORDER BY T1.table_id;

The server would have returned: 

There is no way to join '???' to '???'

instead of

There is no way to join 'T1' to 'DT'.

This has now been corrected. For more complex table expressions a new 
SQLCODE, -875 (SQLSTATE 42W72) may be generated.



================(Release Build  - Engineering Case #267720)================

Clients without the fix for issue # 241854 would hang when attempting 
to connect with an invalid user id or password to servers with the fix.  
The fix for issue # 241854 was made to the EBF versions, 7.0.2.1510, 
7.0.3.2048 and the release version 8.0.0.   For example, clients with 
the original 7.0.2 or 7.0.3 maintenance releases would hang if an incorrect 
password was specified and the server was a current 7.0.2 or 7.0.3 EBF. 
This server fix now allows older clients to be used with newer servers 
without hanging on invalid user ids or passwords.



================(Release Build  - Engineering Case #268643)================

If the value of the database option MIN_TABLE_SIZE_FOR_HISTOGRAMS was 
changed by an application, the new option value was not effective until 
the database is restarted. Wth this fix, the change in option value 
is effective immediately.


================(Release Build  - Engineering Case #269085)================

The ports specified in the LINKS= connection parameter were tried in 
the order in which they were specified. With this change, if the shared 
memory (shmem) port is specified, it is tried first, followed by the 
other ports specified in order. For example, if LINKS=tcpip,shmem,spx 
is specified, the shmem port is tried first, followed by tcpip and then 
spx. Before this change, tcpip would be tried before shmem. Since personal 
servers also run TCP/IP by default, this could result in a local connection 
using the TCP/IP port instead of the much faster shared memory port.


================(Release Build  - Engineering Case #269192)================

The 'IF', 'CASE', 'IFNULL', 'ISNULL', and 'ARGN' expressions can be 
used to control whether an expression is evaluated. For example, the 
expression:
	IF x = 0 THEN 0 ELSE y/x ENDIF
should not evaluate y/x if x is zero, and therefore should not generate 
a division-by-zero error. Before this fix, if the expression y/x appeared 
in two or more locations in a query, even if guarded by IF or another 
of the above expressions, then a division-by-zero exception could have 
been generated erroneously. For this to have occurred, a work table 
must have appeared between the two instances of the y/x expression, 
(for example, for a hash join, sort, or so on).


================(Release Build  - Engineering Case #269213)================

An externalizable class would not have its read/writeObject methods 
called if the database was initialized with
JDK 1.3 support and was being used on a UNIX platform. This problem 
has been fixed.

To determine if a database that needs to be fixed:
First, ensure that the database is a JDK 1.3 database by querying the 
classes_version column in SYS.SYSINFO
	(i.e SELECT classes_version FROM SYS.SYSINFO)
Next, ensure that the database is in fact defective by verifying that 
the 'ASASystemUNIX' jar is not installed.
	(i.e SELECT * FROM SYS.SYSJAR WHERE jar_name = 'ASASystemUNIX')

If a database is verified to be a JDK 1.3 database but the ASASystemUNIX 
jar is not installed, then it can be fixed by executing the following:
	install java    update
		external jar 'ASASystemUNIX'
		only    java.io.UnixFileSystem
	from file 'rt.unix.jar';

If the above update fails, ensure that the rt.unix.jar file exists 
in the asany/java directory. If the file does not exist, then the proper 
EBF may not be installed.


================(Release Build  - Engineering Case #269236)================

With this change, the server creates and maintains statistics on all 
columns in databases with a multi byte character set collation sequence. 
Previously, statistics were not created for columns with character data 
types.


================(Release Build  - Engineering Case #267640)================

If an exception handler in a stored procedure or trigger was executed 
many times within a single request to the server, it would consume memory, 
although the memory would be freed on the next request made by that 
connection.. This might happen in a procedure that is called repeatedly 
from another procedure, or within a trigger that is called many times 
during a mass insert, update or delete. The result could be a "dynamic 
memory exhausted" or "procedures or triggers nested too deeply" error. 
This has now been fixed.


================(Release Build  - Engineering Case #269436)================

Offsets in embedded SQL Getdata requests were interpreted incorrectly 
by the server. This was a consequence of  the  incorrect recalculation 
of getdata offsets, when string expansion/contraction occurred, due 
to server-side character translation. This problem has been fixed.


================(Release Build  - Engineering Case #269437)================

The BACKUP DATABASE statement checks if there is enough free space in 
the specified path before doing the backup. To get the path name from 
a fully qualified file name, it was using the strrchr C function to 
search for the delimiter between file name and path name. On Windows, 
the delimiter is '\', (or 0x5c hex), so when a multi-byte character 
file name contained a character which had 0x5c as the second byte, strrchr 
would point to that byte, instead of the real delimiter. This problem 
has been fixed.


================(Release Build  - Engineering Case #267530)================

If  LOAD TABLE was used with a data file that did not end with a newline 
character, the last row loaded into the table  could have contained 
invalid data. This has been fixed.


================(Release Build  - Engineering Case #269714)================

If the CHAINED option was set to OFF and a cursor, not declared WITH 
HOLD, was opened on a stored procedure in which a temporary table and 
another cursor were both declared, closing the application's cursor 
could have caused a server crash. This has now been fixed.



================(Release Build  - Engineering Case #262981)================

A new database option Sort_collation has been added to allow impicit 
use of the SORTKEY function on ORDER BY expressions:
SET [ TEMPORARY ] OPTION [ userid | PUBLIC ].Sort_collation = 'internal 
| collation_name | collation_ID '

See documentation for SORTKEY() for valid values for collation_name 
and collation_ID.

The default value of the option is 'internal' and has no effect, i.e., 
no changes are made to the ORDER BY clause
When the option is set to any other valid collation_name or collation_ID, 
any expression, (expr), in the ORDER BY clause that is of one of the 
character types, is changed to:
	SORTKEY( expr, 'collation_name' | collation_id )
The SORTKEY function has been expanded so that a valid collation_id 
can now also be passed in as a string, e.g., SORTKEY( col, '50' ) is 
now a valid invocation.
Example:
Given: set temporary option sort_collation = 'binary'
select char_col, int_col from foo order by char_col, int_col
is transformed into:
select char_col, int_col from foo order by SORTKEY( char_col, 'binary' 
), int_col
and
select char_col, int_col from foo order by 1,2
is also equivalent to:
select char_col, int_col from foo order by SORTKEY( char_col, 'binary' 
), int_col



================(Release Build  - Engineering Case #269834)================

The Assertion 200601 would have been raised when installing Java classes 
from a SELECT  expression. The assertion might also have been raised 
by stored procuedures which fetched a blob using an IF .. (SELECT) expression. 
This has been fixed.


================(Release Build  - Engineering Case #270306)================

Statistics created by LOAD TABLE and CREATE STATISTICS, for columns 
that were of type string and had a declared size greater than 7 bytes, 
were subsequently not made use of by the optimizer. Further tuning of 
the statistics done as part of query execution worked as expected. All 
new statistics will now be made use of correctly. The server will also 
recover unused space that was currently wasted by old statistics.

No action is required on the user's part, unless a performance problem 
is suspected to be a result of bad statistics, in which case it is recommended 
that the CREATE STATISTIS command be run *once* for columns with bad 
statistics. The list of candidate columns is the one returned by the 
following statement:

	select user_name, table_name, column_name from syscolstats where format_id 
= 2


================(Release Build  - Engineering Case #270307)================

In rare circumstances, column statistics used by the server may have 
been incorrect or the server may have crashed. The problem was more 
likely to be seen when a number of concurrent connections caused the 
server to lookup or update statistics on the same column. This has now 
been fixed.


================(Release Build  - Engineering Case #269694)================

A corrupted database could result from using LOAD TABLE with a data 
file containing invalid data.  Most likely the invalid data would be 
for a DATE, DATETIME or TIMESTAMP column.  The column definition would 
also need to be NOT NULL and the CONVERSION_ERROR option would need 
to be set to 'OFF' for this problem to occur.  When inserting invalid 
data into a column the engine converts the data to NULL.  If the column 
does not allow NULL then an error "Column 'x' in table 'y' cannot be 
NULL" will now be generated.



================(Release Build  - Engineering Case #270461)================

ALTER TABLE was causing any in-memory column statistics, (i.e., statistics 
that had been created and/or gathered but not yet flushed to disk), 
to be lost. The server now preserves all column statistics unless the 
ALTER statement changes the data type of a column, in which case, any 
existing statistics on the column being changed are dropped and need 
to be recreated if desired.


================(Release Build  - Engineering Case #270472)================

Executing a LOAD TABLE statement with the DEFAULTS ON clause would have 
corrupted the table, if no value was supplied for a column that did 
not have a default specified.  (Note: LOAD TABLE defaults to DEFAULTS 
OFF.)


================(Release Build  - Engineering Case #271542)================

Selectivities for predicates with IS NULL or NOT, may not have been 
set correctly during optimization. This has now been fixed.


================(Release Build  - Engineering Case #270626)================

If an external function, (or a set of external functions), was called 
many many times using the new external
function interface, and the external function was incorrectly declared, 
then there was a chance that the server would have crashed with a stack 
fault. This problem has been worked around within the server.



================(Release Build  - Engineering Case #270675)================

Modifying a foreign key in a combined index could have resulted in an 
engine crash, (or incorrect results, if another connection was doing 
an isolation level 3 scan on the associated primary index.) This was 
unlikely to be observed in practice, as for this to occur, a foreign 
key that had no matching primary key must have been inserted or deleted 
and the key value must have been after the last primary key value.  
A crash would have occurred only if the foreign index page was physically 
the last page in the cache.


================(Release Build  - Engineering Case #270677)================

Executing a SETUSER statement inside a procedure, trigger, event handler 
or batch could have caused a server crash. The following error will 
now result:
	SETUSER not allowed in procedures, triggers, events or batches


================(Release Build  - Engineering Case #270742)================

If the total length of an error message exceeded 60 bytes, the characters 
after the 60th byte may have been garbled. The message will now be truncated 
at 120 characters.


================(Release Build  - Engineering Case #268433)================

A query containing nested derived tables on proxy tables, could have 
caused a server crash. This problem has now been fixed.


================(Release Build  - Engineering Case #275561)================

Two new connection properties and one new server property have been 
added:

connection_property( 'LivenessTimeout' ) returns the liveness timeout 
of the connection
connection_property( 'IdleTimeout' ) returns the idle timeout of the 
connection
property( 'IdleTimeout' ) returns the default idle timeout (i.e. value 
of -ti switch)

Note that property('LivenessTimeout'), to return the default liveness 
timeout, already exists.


================(Release Build  - Engineering Case #271003)================

An attempt to update view columns using an ODBC SQLSetPos API call, 
with attribute SQL_UPDATE, could have failed with the error:-121 "Permission 
denied: you do not have permission to update {table name}". This has 
ben fixed.


================(Release Build  - Engineering Case #271174)================

At isolation level 3, executing a query of the form 'select from t where 
t.x = v', that was satisfied by a unique index on x, should only have 
locked the row containing v, (assuming that v existed in the index.), 
but was also locking the row following v in the index. This has been 
fixed.


================(Release Build  - Engineering Case #271315)================

The number of rows expected for a primary key  index scan, with equality 
matching predicates on all index columns, was assumed to be one row, 
regardless of the selectivities of the matching predicates.  When the 
estimated number of rows computed using the selectivities of the matching 
predicates is less than one row, then this estimate should be used by 
the optimizer. Rounding up to 1 row per index scan, as it was done before 
this fix,  may have resulted in less than optimal access plans.


================(Release Build  - Engineering Case #271381)================

When using cursors, the server could have left rows locked past a commit 
or rollback. This has been fixed.


================(Release Build  - Engineering Case #271429)================

The naming convention for renamed log files has changed.  The last two 
characters in the renamed log have switched from using numbers (00,01,02,...) 
to letters (AA, AB, AC, ...).  This means there can now be up to 676 
renamed logs created on the same day, without manual intervention.


================(Release Build  - Engineering Case #271069)================

Creating a view that included a date/time/timestamp column, using a 
TDS connection, (like dbisql), would have defined the view column for 
that date/time/timestamp column as a char datatype instead of the appropriate 
date/time/timestamp datatype. This problem has now been fixed.


================(Release Build  - Engineering Case #271640)================

Calling a procedure from the select list, using a TDS connection, that 
executed a print statement and then subsequently returned a value without 
returning a result set, would have caused a server crash.
For example:

	create procedure junk()
	begin
	    print 'a test message';
	    return 1;
	end

If SELECT junk() was executed using dbisqlc, all would have been well, 
but executing the same select using dbisql would have crashed the server. 
This problem has now been fixed.


================(Release Build  - Engineering Case #270989)================

If a binary value (e.g. 0x80000000) was assigned to an integer variable, 
the conversion was performed such that the rightmost bytes were considered 
most significant. Converting from an integer to a binary string operated 
in a similar fashion. This behavior did not match that of Adaptive Server 
Enterprise and Microsoft SQL Server. If attempting to assign a binary 
constant to an integer, a workaround would be to use an integer constant 
instead of the binary constant. Now, when converting from a binary string, 
the left-most bytes in the string are considered the most significant. 
If the string contains more bytes than will fit in the destination integer 
type, the rightmost bytes are used. (The string must be less than 255 
bytes; otherwise, the first 254 are used.)
	
When converting from an integer to a binary string, the most significant 
bytes will appear first in the string. The string is padded on the left 
with zeroes up to the number of bytes in the integer value. If the destination 
is not large enough, only the rightmost bytes are retained. 

For example:
Query			Old Result		New Result
select cast(0x80000000 as int)		128		-2147483648
select cast(123 as binary(4))		0x7b		0x0000007b
select cast(1234 as binary(4))		0xd204		0x000004d2


================(Release Build  - Engineering Case #271079)================

Calling the system procedure, sa_locks, could have deadlocked the server, 
causing it to appear hung.  For the deadlock to have happened, a checkpoint, 
(or some ddl statement), and some other activity that required locks 
to be obtained, must have occurred concurrently. This is now fixed.


================(Release Build  - Engineering Case #271867)================

This change fixes the following problems:
1 - Attempting to connect to a server over SPX, with a server name 
greater than 26 bytes, could have caused Windows clients to crash or 
fail to connect.
2 - The Network Server for Windows would not have detected that a server 
with the same name was running over SPX using the bindery.


================(Release Build  - Engineering Case #272050)================

Converting a Java value to a string would have crashed the server, if 
there was a SQL error during the construction of the Java value.  For 
example, if the subselect in the following query:
SELECT name, jProd>>description, jProd>>quantity
FROM product
WHERE jProd>>quantity <  2 * (
   SELECT jItem>>quantity
   FROM sales_order_items)
returned more than one row, the server would have crashed, (since the 
Java value was converted to a string and then to a number). This is 
now fixed.


================(Release Build  - Engineering Case #272141)================

Following the instructions in the documentation on how to debug java 
class methods running in the database, would have lead to a server crash 
in the Java VM, (with or without the jdk13rt.dll). If the VM was started 
beforehand, the server would not have crashed and the statement would 
have completed successfully, but the debugger would not have stopped 
at any breakpoint set in the method. This has now been fixed.


================(Release Build  - Engineering Case #271172)================

A statement like:

	INSERT INTO t1 SELECT c1 FROM r_t1 WHERE c1 NOT IN (SELECT c1 FROM 
t1)

would have either crashed the server or given misleading error messages, 
if t1 was a local table that was part of a publication involving several 
tables and r_t1 was a proxy table. This problem has now been fixed.


================(Release Build  - Engineering Case #272449)================

When receiving the meta data describing the column names in a result 
set, over a TDS connection, the last character in the column name data 
would have been missing. This is now fixed.



================(Release Build  - Engineering Case #271815)================

Beginning with version 8.0.0, the server can reuse query plans, (see 
the option MAX_PLANS_CACHED), for statements. If a reusable cursor cached 
the results of user function calls or subqueries, the server may have 
crashed. This problem has been fixed, but  a work around would be to 
set:
        set option public.Max_plans_cached=0



================(Release Build  - Engineering Case #272492)================

If a TCP or SPX connection is terminated abnormally, (i.e. without a 
database disconnect), a message is now displayed on the server console, 
(if the -z switch was specified). The message contains the user name 
and the reason that the connection was dropped. Shared memory connections 
already have such a message - "Disconnecting shared memory client, process 
id not found".

A message is also displayed if a DBA drops a connection using the DROP 
CONNECTION statement. This message contains the user name of the user 
who executed the DROP CONNECTION, and the connection number and user 
name of the connection that was dropped.


================(Release Build  - Engineering Case #272561)================

Dropping and recreating column statistics in the same transaction, (as 
in the example below), could have caused the server to crash, if the 
transaction was eventually rolled back. The server now causes an implicit 
commit to take place as part of executing the DROP STATISTICS statement.

	CREATE TABLE foo( bar int )
	INSERT INTO foo VALUES ( 1 )
	COMMIT
	CREATE STATISTICS foo
	DROP STATISTICS foo
	CREATE STATISTICS foo
	rollback


================(Release Build  - Engineering Case #272693)================

TDS connections, (including jConnect, such as dbisql and Sybase Central), 
would never have been dropped due to to an idle timeout.  Now, the -ti 
switch on the server is respected for TDS connections.


================(Release Build  - Engineering Case #272550)================

If an alias was defined on a complex expression in the select list of 
a grouped query and the alias was used in the group  by clause as well, 
the query would have failed with the error, "Function or column reference 
to ' ... ' in the select list must also appear in a GROUP BY".  The 
alias is now allowed to  be used in the group by clause as well.  

Examples of such queries are:

Example 1:
SELECT  x+1 as alias1, y, count(*)
FROM T
GROUP BY alias1, y

Example 2:
select  (select S.Y  from S where S.X = T.X) as A, count(*)
from T
group by A


================(Release Build  - Engineering Case #272774)================

If a CREATE VARIABLE statement was executed inside a stored procedure 
and the variable being created already existed, an error was not reported. 
A new variable was created, hiding the previous instance. This has been 
fixed, an error is now reported.



================(Release Build  - Engineering Case #272633)================

If LOAD TABLE was run to populate a table with a computed column, the 
computed column was not recalculated. Now computed columns are always 
recalculated during LOAD TABLE.



================(Release Build  - Engineering Case #272776)================

A column or expression name that was greater than 30 characters in length, 
would have been truncated to 30 characters for all TDS connections. 
The reason for the truncation was due to an Open Client limitation, 
not a general TDS limitation. Now, column or expression names get truncated 
to 30 characters for Open Client connections only, not for jConnect 
connections.



================(Release Build  - Engineering Case #272829)================

IN-list predicates, (not to be confused with quantified subquery predicates 
using the IN, rather than ANY, keyword), containing a single element 
were being treated as IN predicates throughout rewrite optimization. 
This change converts such predicates to simple equality conditions, 
permitting the exploitation of these conditions for other rewrite optimizations, 
in particular for predicate normalization and inference.

Examples:

(1) With this change the query

select count(*) 
from customer
where ( state in ('nj') and lname <> 'foo' ) or
             ( state in ( (('nj')) ) and fname <> 'bar'

will be rewritten as

select count(*) 
from customer
where state = 'nj' and ( lname <> 'foo'  or fname <> 'bar' ).

(2) The query

Select count(*) 
from customer
where state not in ('NJ')

will be rewritten as

Select count(*)
from customer
where state <> 'NJ'



================(Release Build  - Engineering Case #272995)================

The server could have stopped responding to new connections, (existing 
connections still worked). if it received a TCP error on the listener 
socket. The server message log would have shown an error similar to: 
"TCP/IP link, error on TCP listener, rc=4, er=X, s=... ", where X is 
the integer value of EWOULDBLOCK on that platform. This is now fixed.



================(Release Build  - Engineering Case #270534)================

The server could have consumed 100% CPU utilization for an extended 
period of time, usually immediately following a checkpoint. The duration 
of the CPU usage spike could have been several seconds to several minutes. 
During that time, new connection attempts may have failed, existing 
connections may have been dropped, and the
server would have been generally unresponsive. This is now fixed.


================(Release Build  - Engineering Case #273082)================

Holdlocks were being ignored for simple queries. Queries would not respect 
isolation level 3 semantics, (but would use the current isolation level 
setting instead). This is now fixed.



================(Release Build  - Engineering Case #273199)================

Servers running on AIX, could have used all available file descriptors, 
causing the O/S to run out. This has been fixed.


================(Release Build  - Engineering Case #273202)================

If a table containing a computed column was altered to delete the COMPUTE 
definition for the column, the catalog entry for the column was left 
in a state such that subsequently adding a default value for the column 
would make the column "computed" again. This has been fixed.



================(Release Build  - Engineering Case #272390)================

The server would have suppressed ASA warnings, if the connection was 
from an Open Client application. These warnings will now be sent back 
to Open Client applications. Note that the warning will still be suppressed 
if the application connects using jConnect.


================(Release Build  - Engineering Case #272295)================

The server may have crashed, if a stored procedure or user defined function 
contained a cursor that failed due to an unhandled exception. This has 
been fixed.


================(Release Build  - Engineering Case #273285)================

Any query that contained a numeric user estimate outside the range 0 
to 100, would have caused the server to return a syntax error. Instead, 
the server should return a warning (SQLCODE 118 - "query contains invalid 
user estimate") on OPEN of a cusor. 

Example:

The following query should return warning 118:

Select *
From customer
where (state = 'NJ', 98798797)

This is now fixed.



================(Release Build  - Engineering Case #273389)================

A number of connection-related messages displayed by the server in debug 
mode, (ie using the -z switch), have been changed to include a "connection 
ID". This id, which is a number assigned to each connection, is a monotonically 
increasing number, starting at 1, and is unrelated to the connection 
handle, which is displayed by Sybase Central, and used in the DROP CONNECTION 
statement.

Note that if a streams connection is made, but no database connection 
is made (eg. a dbping without the -d switch), then a connection ID will 
be used up but no messages are displayed (other than TCP connections 
on Win32).

The changes to these messages make it possible to correlate messages 
to particular connections. The first message displayed when a database 
connection is successfully completed contains both the connection ID 
and the connection handle, as well as the user name.



================(Release Build  - Engineering Case #273691)================

When the connection option "QUERY_PLAN_ON_OPEN" was set to ON, the server 
would not return a warning (SQLCODE 102, SQLSTATE 01W02) in response 
to a cursor open request, if the query plan requred the use of a temporary 
table. This has been corrected.


================(Release Build  - Engineering Case #273846)================

If a FETCH ABSOLUTE was executed on a cursor, while a sequential scan 
of a table was being performed for that cursor on a table that had a 
table page bitmap, (which requires an 8.0 format database), a server 
crash could have occurred. This is now fixed.


================(Release Build  - Engineering Case #273865)================

It was not possible to run DBUNLOAD with a database that was started 
read-only. The server allowed a temporary table to be created using:
	CREATE TABLE #temptab ...
but would not allow
	DROP TABLE #temptab

Dropping a temporary table is now allowed with read-only databases.



================(Release Build  - Engineering Case #274066)================

Isolation level settings can now be specified, per table specification, 
in a from clause. This syntax is compatible with that of Microsoft SQL 
Server

Syntax:

tableorview:
[userid.]table-or-view-name[[AS]correlation-name] [WITH ( table-hint 
)]

table-hint:
	NOLOCK
	| READUNCOMMITTED
	| READCOMMITTED
	| REPEATABLEREAD
	| HOLDLOCK
	| SERIALIZABLE

The locking hint overrides the current isolation level setting:  NOLOCK 
and READUNCOMMITTED request isolation level 0 semantics, READCOMMITTED 
isolation level 1, REPEATABLEREAD isolation level 2, and HOLDLOCK and 
SERIALIZABLE isolation level 3.  The isolation level settings are just 
hints, there is no guarantee that they will be honoured (although currently 
they always are.)


================(Release Build  - Engineering Case #274070)================

If a table was created with default values that referenced variables, 
then a syntax error would have been incorrectly generated for INSERT 
statements which did not supply values for these default columns.

For example:
create procedure PVarDef( @v1 int )
begin
    create table #Report(
        x int,
        y int default @v1 );
    insert into #Report(x) values(1);
    insert into #Report(x) values(2);
    select * from #Report;
end

A syntax error (-266 Update column not found) was incorrectly generated 
when calling this procedure due to the reference to parameter @v1 in 
the default value for y. This is now fixed.


================(Release Build  - Engineering Case #274052)================

As of Version 8, the communication buffer size, (also called packet 
size), can be specified on the server with the -p switch without needing 
to specify the communication buffer size on the client.

There was a problem when the server wasn't using the full packet size 
specified by -p.  This could have caused reduced performance, particularly 
over a WAN.  This problem has been fixed, and now the client and server 
will use the full packet size specified by -p.



================(Release Build  - Engineering Case #260301)================

If a procedure used a nested procedure to populate a table and then 
returned the contents of that table as it's
result set, then it was a very likely that jConnect would have claimed 
that there was no result set. This problem
only appeared if the application was using TDS cursors and not the 
TDS language command. The problem
has now been fixed.



================(Release Build  - Engineering Case #270903)================

A new Database option, On_Charset_conversion_failure, has been added 
to control reporting of errors or warnings due to character set conversion. 
Valid option values are, 'ignore' (default),  'warning' and  'error'. 

When the option is set to 'ignore', no conversion error or warning 
will be given.
When the option is set to 'warning', both substitutions and illegal 
characters are reported as a warning. For the illegal character case, 
the problematic byte is copied directly without translation.
When the option is set to 'error', both substitutions and illegal characters 
are reported as an error.

Distinctive warning/error messages are added for the following situations:
	1. Input character substitution warning
	2. Output character substitution warning
	3. Input illegal multibyte character warning
	4. Output illegal multibyte character warning
	5. Input character substitution error
	6. Output character substitution error
	7. Input illegal multibyte character error
	8. Output illegal multibyte character error

The default reporting behavior remains unchanged that is On_Charset_conversion_failure 
= 'ignore'.

Note, an error message will be given when attempting to set the option 
to 'error' or 'warning', when the associated converter is not capable 
of reporting substitutions and illegal characters. Currently, the single-byte 
to single-byte converters are not capable of doing such reporting.


================(Release Build  - Engineering Case #274291)================

If dbwrite was used to create a write file on a database that had no 
log file, dbwrite would have reported "Write file "name.wrt" does not 
use a transaction log file". This was not true - the newly created write 
file would use a log file called "name.wlg". Now, dbwrite reports the 
correct log file name.



================(Release Build  - Engineering Case #274521)================

If a database hads no transaction log file, or was running in read-only 
mode, the following DB properties returned meaningless values: CurrentRedoPos, 
LTMTrunc, RemoteTrunc and SyncTrunc. In this case, the properties now 
return 0.


================(Release Build  - Engineering Case #274527)================

Extremely slow java performance was observed on Window 9x. This was 
due to an error when the Java VM was being initialized, which has been 
corrected.


================(Release Build  - Engineering Case #273658)================

For queries on tables flagged with HOLDLOCK, it was possible for phantom 
rows to have occurred. For example, repeatedly running the query, "select 
count(*) from t holdlock", in the same transaction, could have returned 
different values. This is now fixed.


================(Release Build  - Engineering Case #243068)================

If an INSERT ... SELECT was performed where the table being inserted 
into was a local table and the select query was a join between several 
remote tables, all of which were on the same server (i.e. the select 
clause can be executed in full pass through), then the local table would 
have had NULLs inserted instead of actual data. The problem has now 
been fixed.


================(Release Build  - Engineering Case #274669)================

If an alias was used in ANY or ALL subqueries, the query may have failed 
to execute with the error "Could not build subselect".  In the example 
below, the alias A is defined on subquery "(select S.Y from S where 
S.X = T.X)" and it is used in a ANY subquery "(select R.col from R where 
A = R.Y )".:

select  (select S.Y  from S where S.X = T.X) as A 
from T
where NOT( T.col  > ANY  ( select R.col from R where A = R.Y ) ) 


This problem is now fixed.


================(Release Build  - Engineering Case #274502)================

If a trigger was declared to fire for multiple events, (e.g. INSERT 
and UPDATE), and the trigger was fired while procedure profiling was 
enabled, calling sa_procedure_profile() or sa_procedure_profile_summary() 
would crash the server.



================(Release Build  - Engineering Case #274857)================

The NetWare server could have abended if the following occured in this 
order:
1 - a non-ESQL/non-ODBC application attempted to connect over TCP/IP 
to an ASA server running on NetWare but the connection failed (eg. database 
didn't exist)
2 - the application didn't close the TCP socket when the connection 
failed
3 - server shutdown was initiated, (i.e. hit 'q' on console - it will 
hang for 10 seconds)
4. the application closeed the TCP socket during the 10 second hang

If the TCP socket was closed at exactly the right moment, the server 
would have crashed. This has been fixed.


================(Release Build  - Engineering Case #274999)================

If the following statements were executed, the SELECT statement would 
cause the error "Column 'm' in table '#temp' cannot be NULL". The column 
in the temporary table was defined to disallow nulls, even though the 
string() function can return a null result.

create table test (v1 int NULL);
insert into test values(NULL);
insert into test values(50);

select string(v1) m into #temp from test;

This is now fixed.


================(Release Build  - Engineering Case #275057)================

Calling a stored procedure that didn't exist, with arguments of type 
unsigned smallint, unsigned int or unsigned bigint, would have caused 
the server to crash. This is now fixed.


================(Release Build  - Engineering Case #275100)================

Creating an index on existing data or reorganizing an index could have 
resulted in a malformed index being built.  A malformed index would 
have been built if fast index creation was invoked, (typically only 
if the index is much larger than cache size), or if a trie-based index 
with more than 170 entries was reorganized. This is now fixed.


================(Release Build  - Engineering Case #275119)================

Some rows would have remained in the sysjar, sysjarcomponent, and sysjavaclass 
system tables after an 'alter database remove java' statement was run, 
(Note that the jars and classes themselves are not accessible.) With 
this fix, these tables are now empty after 'alter database remove java' 
completes.


================(Release Build  - Engineering Case #275166)================

This change fixes a problem where the server could have exhausted its 
stack when attempting to do an index-based sort.  This would only have 
occurred when the server was under heavy load.



================(Release Build  - Engineering Case #275165)================

Reorganizing a trie-based index containing more than 28000 entries, 
with the REORGANIZE TABLE command, could have corrupted the index. This 
has been fixed.


================(Release Build  - Engineering Case #275216)================

If an ANY or ALL predicate was used in a search condition, the predicate 
may have been incorrectly evaluated during execution. 

For example:

create  function ITB() returns char(10)
begin
      if 0 = ANY ( select row_num from dbo.rowgenerator where row_num=1 
) then
        return 'Error!'
      else
        return 'OK'
      end if
end;

select ITB(*) returns "Error!".

This problem is now fixed.


================(Release Build  - Engineering Case #275358)================

Executing 'alter database remove java' removed java from the database, 
but only if an explicit or implicit commit was done by the connection. 
If a rollback was done, or if the connection was closed without doing 
an implicit commit, the 'alter database' statement was rolled back, 
and java was re-enabled. This has been fixed.


================(Release Build  - Engineering Case #275435)================

If the Truncate_timestamp_values option was ON and Default_timestamp_increment 
was set to a value greater than 1000, assertion 103102 could have failed 
at seemingly random times, after many updates had been made to a database. 
This is now fixed.


================(Release Build  - Engineering Case #275461)================

Calling connection_property('diskreadtable') would always have returned 
0. This has been fixed. Note that db_property('diskreadtable') works 
as documented.



================(Release Build  - Engineering Case #275501)================

When starting the database server on a database file that was larger 
than 2GB, the following message would have been displayed: "Note: The 
size of 'X' is larger than expected". This has now been fixed.


================(Release Build  - Engineering Case #275514)================

The Linux database server would not have started on systems using 2.4.x 
kernel, when the available memory was greater than 2GB. This is now 
fixed.


================(Release Build  - Engineering Case #271493)================

If a remote server was dropped, using the DROP SERVER command, any connection 
that may have already been established to the remote server was not 
dropped until the local connection was dropped. Now, the remote connection 
is also dropped.


================(Release Build  - Engineering Case #275597)================

Dynamic cache sizing on AIX would have failed, (the cache would never 
change size), when more than 50 processes were active on the system. 
This has been fixed.



================(Release Build  - Engineering Case #274843)================

After upgrading a database to version 8, attempting to alter an existing 
trigger whose definition contained the trigger name prefixed with a 
userid, other than the owner of the associated table, would have resulted 
in the error:
	Table 'table-name' not found
The definition of the trigger would be altered as requested, even though 
an error was returned. The error occurred while trying to save the original 
source format for the statement. The error no longer occurs.


================(Release Build  - Engineering Case #275846)================

Issuing a query like: SELECT 0.0 FROM DUMMY would have resulted in a 
TDS protocol error and may have even dropped the connection. This problem 
has now been fixed.



================(Release Build  - Engineering Case #275930)================

Attempting to CREATE EXISTING TABLE to a table in an ASE database that 
had close to 30 characters in the table name with a few underscore characters 
(ex. sy_product_component_version), would have failed with a table not 
found error. This problem only exists with the ASEJDBC server class 
and has now been fixed.



================(Release Build  - Engineering Case #275488)================

If the server was started without a database, but the cache page size 
was set  larger than the default page size of 1024, (via the -gp switch), 
then the message: "Note: database page size is smaller than the cache 
page size, resulting in inefficient use of memory" was incorrectly displayed. 
This problem has been fixed.


================(Release Build  - Engineering Case #276142)================

Doing inserts or updates to a proxy table, would have caused the server 
to have leaked a small amount of memory. This problem has been corrected.



================(Release Build  - Engineering Case #273812)================

A LOAD TABLE statement may have loaded data that violated a column constraint, 
due to  CHECK CONSTRAINTS
being OFF when the LOAD TABLE statement was executed. A dbunload -an, 
-ar or -ac reloads the database and verifies all constraints. If a constraint 
failed, the server may have crashed. This problem has been fixed.


================(Release Build  - Engineering Case #276368)================

Queries of the form:

	SELECT	count(DISTINCT emp_id)

	FROM		employee

	GROUP BY	emp_id

would have caused the server to crash. The problem was due to a 'distinct' 
aggregate function, which referred to an expression, which was in the 
group-by list. This problem is fixed by realizing that the expression 
will only have one value in each group and rewriting the expression. 
For an aggregate function on expression 'x', which is in the group-by 
list, the following rewrites will be used:

	count( distinct x )	-> if x is null then 0 else 1 endif

	max( distinct x )		-> x

	min( distinct x )		-> x

	sum( distinct x )		-> x

	avg( distinct x )		-> x

For example, the above example could be written as:

	SELECT	if emp_id is null then 0 else 1 endif

	FROM		employee

	GROUP BY	emp_id


================(Release Build  - Engineering Case #274941)================

The server could have crashed when using trie-based indexes.  For the 
problem to occur, the length of the normalized hash value had to have 
been greater than 256 bytes.  For single column indexes, this was likely 
only to be a problem for char(249) columns.  This problem was more likely 
to occur as the result of indexing a temp table generated by query processing. 
It is now fixed.


================(Release Build  - Engineering Case #276560)================

If the ROW_COUNTS option is set, then SQLCOUNT,  (the sqlerrd[2] field 
of the SQLCA), should contain the actual number of rows in the cursor 
after the OPEN statement, (see ASA SQL Reference Manual,4. SQL Statements,OPEN 
statement [ESQL] [SP]).

For SCROLL (ODBC Keyset-Driven), the count returned was one lower than 
the actual count. For example, the count would be -1 for a cursor that 
had no matching rows, and 1 for a cursor containing 2 rows.

SCROLL cursors are used in some situations even if they are not specifically 
requested. For example, if a query with an ORDER BY clause is optimized 
to use a work table, then a SCROLL cursor is used if the cursor is updateable.  
If ANSI_UPDATE_CONSTRAINTS is ON (default for new databases), then such 
cursors will default to READ-ONLY, otherwise the default is updateable, 
and a scroll cursor might be used if an index is not used for the ORDER 
BY.

These problems have been fixed.


================(Release Build  - Engineering Case #276645)================

When reloading java classes, that had been unloaded using dbunload, 
it was possible to have the server crash. During dbunload, java objects 
are serialized to an external form and then deserialized when they were 
reloaded. It was during this deserialization process, that java objects 
were being created for classes that were only partially initialized, 
leading to a possible server crash. This problem is now fixed.


================(Release Build  - Engineering Case #269364)================

If a database on a local server had a remote server defined, such that 
it connected back to itself, then attempting to create proxy tables 
would have caused the server to hang. Note that it is perfectly valid 
to connect to some other database on the same local server. This problem 
has now been resolved, the server will now report an error at connect 
time as follows:

	Unable to connect to server '{server}':  server definition is circular

where {server} is the name of the remote server which maps back to 
the local database. Note that the
fix ONLY works if the Remote Server class is either asaodbc or asajdbc.


================(Release Build  - Engineering Case #277046)================

The server could have crashed when visiting a deleted row in a keyset 
cursor.  For the crash to have occurred, the underlying table must have 
had a unique constraint, that was enforced via a comparison-based (btree) 
index and the unique constraint was not simply on the first k columns 
of the table.  Note that keyset cursors are sometimes used internally 
to implement set-based update and delete operations and that this fault 
would not have occurred if the rows in the underlying tables were identified 
via a primary key.


================(Release Build  - Engineering Case #277876)================

The server would have crashed if an column from a proxy table was used 
as an argument to a java function. For example the

following statement would have crashed the server:



	select new java.math.BigDecimal(c1) from p_table



Where c1 was an int column in the proxy table p_table. This problem 
has now been fixed.


================(Release Build  - Engineering Case #277891)================

When peforming a merge-join, which had a duplicated attribute from one 
table, the server could have crashed or failed an assertion.

An example of a query that experienced the problem:
select count(*)
from employee E1, employee E2
where E1.manager_id = E2.manager_id
and E1.manager_id = E2.emp_id

If this query were optimized to use a merge-join, then the server would 
have crashed. The important characteristic of the query was that the 
column E1.manager_id was compared to two attributes of E2.


================(Release Build  - Engineering Case #277899)================

For procedures, functions, triggers or views, where either the object 
name or the name of its owner must appear within double quotes, the 
preserved-format form of the object definition would have been missing 
the double quotes. For example:
	create view "my view" as select 1 as xx from SYS.DUMMY
would be stored as:
	create view my view as select 1 as xx from SYS.DUMMY
Attempting to edit the object definition using Sybase Central would 
result in a syntax error being generated unless the double quotes were 
re-added. This is now fixed.


================(Release Build  - Engineering Case #277908)================

Queries using hash-join could have had performance that was slower than 
possible, due to unneeded expressions were materialized in the results 
of the hash join's work table. This is now fixed.


================(Release Build  - Engineering Case #266094)================

Join elimination, based on a foreign key defined on a unique constraint, 
may have been done incorrectly, resulting in wrong result sets or syntax 
errors. The conditions under which this may have occurred were:
1 - There were at least two unique constraints, (one may have been 
a Primary Key constraint ), defined on a table, (P in example)
2 - The query referenced only  the columns on one of the unique constraints.
3 - The query had equijoin predicates with a foreign key table, (F 
in example), where the foreign key was defined on the other unique constraint

Example:
 
CREATE TABLE P(
	one	CHAR(4) NOT NULL  
	two	INTEGER NOT NULL PRIMARY KEY,
	UNIQUE(one,two)
);
CREATE TABLE F(
	two INTEGER NOT NULL REFERENCES two(two)
);

SELECT * FROM  P  KEY JOIN F;   

This problem has now been fixed.



================(Release Build  - Engineering Case #275818)================

Queries that contained a subquery, which referred to an aggregate function 
from a containing query, could have crashed the server or given incorrect 
results.
An of such a query is the following:
select test1.a, (select max(test1.b) from test2 )
from test1
group by test1.a

This is now fixed.


================(Release Build  - Engineering Case #277381)================

Proxy tables were not being displayed in the graphical plan view in 
dbisql This has been fixed.



================(Release Build  - Engineering Case #277386)================

If the database option, Extended_ join_syntax, was ON and  a table was 
used in two left outer Joins and one inner join (i.e., KEY, NATURAL 
or JOIN with ON clause), duplicate table elimination may have triggered 
a server crash. As well, the inner join must have referenced a column 
that was not referenced anywhere else in the query. This problem is 
now fixed.


================(Release Build  - Engineering Case #277691)================

In rare circumstances, column statistics created by the early 8.0.0 
servers could have caused the server to crash. Now, the server will 
no longer crash even, if the faulty statistics are present in the database. 
The workaround without this fix, was to drop the faulty statistics, 
(see DROP STATISTICS statement), and to not recreate the statistics 
via CREATE STATISTICS statement, but let them be created as part of 
query execution, as those statistics are not affected by this problem.


================(Release Build  - Engineering Case #277698)================

The 8.0.0 install did not install files required by the compatibility 
dlls. Specifically, dblib7.dll and the language dlls, dblgXX7.dll, were 
not installed.  These files are now installed.


================(Release Build  - Engineering Case #277800)================

New ON predicates are inferred based on WHERE predicates. If a WHERE 
predicate referenced only the NULL-supplying table in an outer join, 
and was NULL tolerant, the wrong result set may have been returned.

For example:
 
create table T1 (a int);
create table T2 (a int);
insert into T1 values (2);
insert into T2 values (2);

The query:
select T1.a,T2.a
from T1 left outer join T2 on T1.a=T2.a
where t2.a is null

was incorrectly rewritten as:
select T1.a,T2.a
from T1 left outer join T2 on T1.a=T2.a and T1.a is NULL
where T2.a is null

This problem has been fixed.


================(Release Build  - Engineering Case #278363)================

While java objects were being loaded using the LOAD TABLE command, an 
exception: "java.io.InvalidClassException" could have been thrown with 
the following additional message: "Local class not compatible: stream 
classdesc serialVersionUID = 6836869462894700619 local class serialVersionUID=0". 
This is now fixed.




================(Release Build  - Engineering Case #279836)================

A CREATE INDEX statement may have caused an assertion within the server, 
if the column list for the index contained duplicates. This problem 
has been corrected.


================(Release Build  - Engineering Case #277454)================

If the public option TRUNCATE_TIMESTAMP_VALUES was ON, and the public 
option DEFAULT_TIMESTAMP_INCREMENT was such that timestamp values would 
have lost precision and optimization logging was enabled for a particular 
connection, the server may have asserted with assertion number 103102. 
This problem has been corrected.


================(Release Build  - Engineering Case #278207)================

The dbcollat, dbinfo, and dbtsinfo tools were displaying blank-padded 
strings when connected to a blank-padded database. This has been fixed.


================(Release Build  - Engineering Case #277492)================

If two adjacent index leaf pages were deleted concurrently, it was possible 
that the index would have become corrupt. This is now fixed.


================(Release Build  - Engineering Case #278567)================

The engine could have hung when retrieiving the plan for a query that 
referenced proxy tables defined using JDBC. For this behaviour to occur, 
retrieving the plan must have been the first operation on any JDBC-based 
proxy table. This is now fixed.




================(Release Build  - Engineering Case #265874)================

If a subquery was used in an expression representing the left hand side 
of a conjunct that also had a subquery on the right hand side, then 
the query may have produced a  syntax error.



Example:



SELECT	T1.X

FROM	T1

WHERE	( SELECT T2.Y  FROM T2 ) < ALL ( SELECT T3.Z FROM T3 )



This has now been fixed.


================(Release Build  - Engineering Case #279157)================

In databases with page sizes greater than 2k, a bitmap is created to 
speed up sequential scans.  The bitmap is created by the first sequential 
scan after the table grows to 100 pages in size.  If this scan fell 
off either end of the table, without visiting all of the pages, (e.g. 
fetch absolute -1, fetch relative 1), the pages not visited would not 
have been recorded in the bitmap and would have been ignored by subsequent 
sequential scans. This is now fixed.


================(Release Build  - Engineering Case #279243)================

FULL OUTER JOINs may be rewritten as LEFT OUTER, RIGHT OUTER or COMMA 
joins, if the WHERE clause contains NULL rejecting predicates for left 
hand side,  right hand side or both left and right hand side tables 
respectively.  The transformation into RIGHT OUTER JOIN was incorrectly 
done.  In the example below, a NULL rejecting predicate, ("p2.id > 0") 
is defined on the right hand side of the FULL OUTER JOIN, (i.e., "product 
p2"), so the FULL OUTER JOIN should have been transformed into RIGHT 
OUTER JOIN, but instead was transformed into a COMMA JOIN. This has 
now been fixed.



EXAMPLE:

select p2.* from

product p1 FULL OUTER JOIN product p2 on( p1.quantity > p2.quantity)

where p2.id > 0


================(Release Build  - Engineering Case #279353)================

When an SPX connection to an ASA server running on NetWare was disconnected, 
it was possible for the NetWare server to abend. This has been fixed.




                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **  Sybase Central Plug-in  **                      
                      ******************************                      

================(Release Build  - Engineering Case #268167)================

The ENTER and ESCAPE key handling in ASATextArea and ASAComboBox has 
been improved.
Pressing ENTER in a read-only multi-line text field in a dialog is 
now equivalent to clicking the dialog's OK button. Previously, pressing 
ENTER under these circumstances had no effect.
Pressing ENTER in a drop-down list in a dialog when the drop-down portion 
is not being displayed is now equivalent to clicking the dialog's OK 
button. Previously, pressing ENTER under these circumstances had no 
effect.
Pressing ESCAPE in a drop-down list in a dialog when the drop-down 
portion is not being displayed is now equivalent to clicking the dialog's 
Cancel button. Previously, pressing ESCAPE under these circumstances 
had no effect.


================(Release Build  - Engineering Case #268314)================

Some of the utility wizards, specifically the Backup, Restore and Create 
Write File wizards, would have failed on a server running Windows 95, 
98 or Me, when executed on the utility database or a database with the
ESCAPE_CHARACTER setting set to OFF, (the default is ON for non-utility 
databases). The wizards would fail when a path name containing one or 
more backslashes was specified. This has now been fixed.


================(Release Build  - Engineering Case #262430)================

Adding a statement to an Ultralite project in Sybase Central would have 
generated an error, if parameters and quotes were used in the statement. 
For example, the statement:

select * from "Transaction" where TransactionTypeIndicator=?

would case the error: "ASA Error -143: Column '?' not found". This 
has now been fixed.




================(Release Build  - Engineering Case #268851)================

The Publication wizard and property sheet was allowing the creation 
of publications that contained articles derived from system tables, 
temporary tables or views. Now, only base tables are displayed in the 
"Matching
Tables" list. As such, the "Table Type" drop-down list has been removed. 
This restriction was made because both SQL Remote and MobiLink can only 
use base tables in publications.

For pre-8.0 databases with MobiLink Synchronization Definitions and 
Templates, the above is also true in the Definition and Template wizards 
and property sheets.


================(Release Build  - Engineering Case #269960)================

When attempting to edit the SQL Remote message types for a Windows CE 
device, if the device was not connected, the Windows CE Message Types 
dialog would have hung Sybase Central, after displaying an error message. 
This has been fixed.



================(Release Build  - Engineering Case #270328)================

The Unload and Extract wizards would sometimes have failed to connect 
to a newly created database, if you chose to create a new database after 
the unload or extract operation, and connected to it on the last page 
of the wizard. This has been fixed.


================(Release Build  - Engineering Case #270347)================

Disconnecting a Windows CE device during a Sybase Central session, required 
a restart of Sybase Central in order to use the Windows CE device again. 
This has been fixed and a restart is no longer required.


================(Release Build  - Engineering Case #271548)================

The underscore key could not be used when selecting items in the details 
list or the treeview.  This has been fixed.


================(Release Build  - Engineering Case #271621)================

The Table Editor could throw an exception under certain navigation circumstances. 
This has been fixed.



================(Release Build  - Engineering Case #272002)================

The Upgrade Database wizard has been enhanced to allow you to backup 
your
database before performing the upgrade, and to allow you to shutdown 
your
database after the upgrade completes. Both of these operations were
recommended by the wizard in previous versions of the software, but 
now they
can be carried out automatically in the wizard.



================(Release Build  - Engineering Case #272815)================

Prior to this change, Sybase Central did not allow connections to a 
version 5.x database, now connections can be made for the purposes of 
unloading and reloading in to a new database. However, the database 
must be running on a version 8.0.0 or later server to perform this operation.


================(Release Build  - Engineering Case #272909)================

If all columns were deleted in the table editor, clicking on the column 
properties button would have caused an exception error.  This has been 
fixed.



================(Release Build  - Engineering Case #273011)================

The Create Database wizard now requires that the encryption key be confirmed, 
if a strongly encrypted database is being created.



================(Release Build  - Engineering Case #273408)================

The Unload and Extract Database wizards now require the encryption key 
be confirmed, when reloading into a new strongly encrypted database.


================(Release Build  - Engineering Case #273591)================

Adding or removing a statistic from the statistic chart, via the Statistic 
property dialog, would sometimes have caused the chart statistic list 
to be incorrect, incomplete, or could have caused the chart plotting 
to freeze.



================(Release Build  - Engineering Case #274871)================

If a procedure or function was created using the wizard in Sybase Central, 
when the procedure was saved, the editor did not preserve the source 
formatting.  This has now been fixed.


================(Release Build  - Engineering Case #275583)================

If your database is running on an 8.0.1 or later server, then in the
Create Function wizard you can now optionally choose the mark the
function as deterministic. A deterministic function always returns 
the
same value for a given set of parameter values, while a
non-deterministic function may return different values for the same
parameter values. As an optimization, the database engine may choose 
to
re-use the value of a deterministic function for a given set of
parameter values, rather than re-evaluating the function. However, 
the
engine always ensures that non-deterministic functions are re-evaluated
whenever their value is required. Note that you should not mark your
function as deterministic if it has side-effects.


================(Release Build  - Engineering Case #276133)================

When running the Service wizard, and choosing "ASA MobiLink Client" 
as the type of service to create, the default executable name given 
would have been "dbmlsrv8.exe", instead of the correct executable "dbmlsync.exe". 
This is now fixed.


================(Release Build  - Engineering Case #278330)================

Several changes have been made to the editors and log windows:



All editors and log windows:

- The current directory is now remembered for each File->Open... or 
File->Save File As..., even after the editor is closed and a new editor 
is opened.

- Undo no longer allows undoing an edit operation which was not donein 
the current session; for example, if you type in a log window, you can 
undo your typing, but cannot use undo to remove the messages that where 
added to the log by Sybase Central.



View, Procedure, and Trigger editors:

- When saving the SQL to a file via File->Save File As..., a default 
extension of ".sql" is added to the specified file name if it does not 
already end in ".sql".



Collation File editor:

- When saving the collation via File->Save File As..., a default extension 
of ".col" is added to the specified file name if it does not already 
end in ".col".



SQL Statements lo window:

- When saving the SQL to a file via File->Save File As..., a default 
extension of ".sql" is added to the specified file name if it does not 
already end in ".sql".

- The New, Open and Save menu items and toolbar buttons are no longer 
shown.

- A Help->SQL Syntax menu item has been added.



Server Messages log window:

- The New, Open and Save menu items and toolbar buttons are no longer 
shown.




================(Release Build  - Engineering Case #278330)================

Several changes have been made to the editors and log windows:



All editors and log windows:

- The current directory is now remembered for each File->Open... or 
File->Save File As..., even after the editor is closed and a new editor 
is opened.

- Undo no longer allows undoing an edit operation which was not donein 
the current session; for example, if you type in a log window, you can 
undo your typing, but cannot use undo to remove the messages that where 
added to the log by Sybase Central.



View, Procedure, and Trigger editors:

- When saving the SQL to a file via File->Save File As..., a default 
extension of ".sql" is added to the specified file name if it does not 
already end in ".sql".



Collation File editor:

- When saving the collation via File->Save File As..., a default extension 
of ".col" is added to the specified file name if it does not already 
end in ".col".



SQL Statements lo window:

- When saving the SQL to a file via File->Save File As..., a default 
extension of ".sql" is added to the specified file name if it does not 
already end in ".sql".

- The New, Open and Save menu items and toolbar buttons are no longer 
shown.

- A Help->SQL Syntax menu item has been added.



Server Messages log window:

- The New, Open and Save menu items and toolbar buttons are no longer 
shown.




================(Release Build  - Engineering Case #278335)================

The View, Procedure, Function and Trigger wizards no longer fail to 
create the object, or set its comment, when specifying an owner or object 
name that contains spaces and/or dots; for example,



	CREATE FUNCTION "My name"."My Func 1.1" ...


================(Release Build  - Engineering Case #278336)================

It was possible to enter a 24-hour time where the hour portion was valid, 
(between 0 and 23 inclusive), but the minute portion was invalid, (greater 
than 59). Now all invalid 24-hour times are prohibited.


================(Release Build  - Engineering Case #278343)================

It is now possible to cancel a Create, Unload, Extract or Migrate Database, 
or Translate Log File operation, that was started using a wizard. The 
messages dialogs for these operations now have a Cancel button.


================(Release Build  - Engineering Case #278352)================

A Connection Script's Version and Event columns are now correctly displayed 
in the Connection Scripts folder when the version contains spaces and/or 
dots. Previously, everything following the first space or dot in the 
version was displayed as part of the Event name.




                      ******************************                      
                      ** Adaptive Server Anywhere **                      
                      **                          ** 
                      **        Utilities         **                      
                      ******************************                      

================(Release Build  - Engineering Case #270822)================

The following bugs in the query editor have been fixed:
1 - The alias for computed columns could not be edited.
2 - An alias could be incorrectly assigned  to all columns in a table. 
For example:  select employee.* as "alias" from employee
3 - Parsing functions that had more than one parameter was not possible
4 - Aliased columns in the order by clause were not being quoted.
 For example:
	SELECT "DBA"."department"."dept_name" AS "Department",
	"DBA"."department"."dept_id" AS "integer"
	FROM "DBA"."department"  
	ORDER BY integer ASC
should be:
	SELECT "DBA"."department"."dept_name" AS "Department",
	"DBA"."department"."dept_id" AS "integer"
	FROM "DBA"."department"  
	ORDER BY "integer" ASC


================(Release Build  - Engineering Case #267907)================

In the query editor, if all of the query was deleted, the results panel 
returned the following message:
JZ0S4: Cannot execute an empty (zero-length) query. This has been fixed.



================(Release Build  - Engineering Case #268186)================

The following could cause an internal error in dbisql:
1 - Clicked the "Tools/Adaptive Server Anywhere 8/Open Interactive 
SQL" menu item to launch ISQL from Sybase Central
2 - connected dbisql to the database
4 - disconnected dbisql from the database
5 - clicked "SQL/Connect" (or pressed F11) to open the "Connect" dialog 
in dbisql. 

This has now been fixed.



================(Release Build  - Engineering Case #268272)================

ISQL might not have displayed the entire result from a query if you 
following had been done:
1. Executed a query that returned a result set containing hundreds 
of rows.
2. Clicked on the result set table
3. Pressed and held the PAGE DOWN key.
	
The problem was related to rapid paging of the result set table. The 
problem did not occur if paging down was done slowly.



================(Release Build  - Engineering Case #268390)================

If many ODBC Data Sources, (DSNs), exist on a machine, dbdsn -l may 
not have listed them all. The number of DSNs that were listed depended 
on the length of the names -- if the total length of all the names was 
greater than about 1000 characters, truncation may have occurred. With 
this fix, all DSNs will be listed. (Note that for 8.0, only ASA DSNs 
are listed.)



================(Release Build  - Engineering Case #268506)================

Isql specific statemens could have failed if non-English data was used. 
For example, the INPUT statement might not handle non-English data properly. 
As well, error messages could have shown corrupted characters, especially 
in double-byte character sets. These issues have been corrected.


================(Release Build  - Engineering Case #269972)================

When reporting execution times in the statistics window, DBISQLC was 
off by a factor of 1000. This has been fixed.


================(Release Build  - Engineering Case #270155)================

In DBISQL, if the "Show multiple result sets" option was selected, executing 
queries that returned more than        the "Maximum number of rows to 
display", would cause the following message: 

            JZ0R0: ResultSet has already been closed.

This problem has been fixed, now the result set(s) are displayed correctly. 



================(Release Build  - Engineering Case #269440)================

Leading and trailing blanks were being inadvertently stripped from character 
values in files created using the OUTPUT statement. Now, they are preserved.



================(Release Build  - Engineering Case #270537)================

There were conflicting accelerators for the Output window (CTRL-G) and 
Global Variables window (CTRL-G).  The output window accelerator is 
now CTRL-O.


================(Release Build  - Engineering Case #270538)================

Connection parameters given on the command line were not being used 
when the "Connect" dialog was opened in the follow situations:

1. If the command line connection parameter list included a connection 
name ("CON=connectionName"), the connection name was being added to 
the advanced parameters list without the "CON=" prefix. You had to remove 
the name from the list in order to connect.

2. If the command line connection parameter list included "LINKS=ALL", 
the "Search network for database servers" box was not being checked. 
In some circumstances, the text "LINKS=ALL" would appear in the advanced 
parameters list, but sometimes not. Now, the box is consistently checked 
if you explicitly specify "LINKS=ALL"

3. If more than one advanced connection parameter was specified on 
the command line, they would all be displayed on the "Advanced" page 
of the "Connect" dialog as a semicolon-delimited list. The dialog can 
handle this syntax, but the dialog text tells the user to enter one 
name-value pair per line. Now the values appear one per line.

Note, these problems affected all administration tools: DBISQL, Sybase 
Central, the Debugger, and DBConsole.



================(Release Build  - Engineering Case #270780)================

An "Out of memory" exception would have been thrown, due to the result 
set table component using an unreasonable amount of memory to display 
tables which contained LONG VARCHAR columns, if the truncation length 
for data was set high. This problem has been fixed.


================(Release Build  - Engineering Case #270651)================

If a database did not contain a user called "DBA" and was a replicating 
database, it was possible to get a primary key violation on the SYS.SYSUSERPERM 
table, when rebuilding the database from a reload.sql generated by dbxtract 
or dbunload. This has been fixed.


================(Release Build  - Engineering Case #268271)================

ISQL was reporting a "Lexical error", when statements which contained 
unquoted Korean letters were executed. Now,  Korean characters are processed 
properly. A workaround for this problem was to enclose the text containing 
the Korean characters in quotation marks.


================(Release Build  - Engineering Case #270558)================

The utility dbvalid,l and the DBValidate function, always returned the 
error  "N objects(s) were not validated because, e.g., validation for 
remote objects is not implemented.", if there was a proxy table in the 
database.
This has been corrected. Now they return the error  only if there was 
a table list specified containing a proxy table.


================(Release Build  - Engineering Case #255548)================

The utility dbdsn will now suppress the data source and connect keyword 
titles when the -qq option is added to the -l and -cl command lines 
(respectively).

Example: "dbdsn -l -qq" will list just the user DSNs without any banner 
or titles.  This can be useful when using this tool as part of a script 
to get a list of user or system DSNs (i.e. the script does not need 
to detect and strip titles).


================(Release Build  - Engineering Case #266079)================

The dbunload utility, when used with the -an or -ar switches, on databases 
created with versions 5.0.x or 5.5.0, would fail with the error: "SQL 
error: Invalid option 'ESCAPE_CHARACTER' -- no PUBLIC setting exists". 
This has been fixed.


================(Release Build  - Engineering Case #266220)================

Starting DBISQL with a command line that included a filename that started 
with a forward slash, would have displayed the command line usage text 
for ISQL, and the file would not have been executed. If the file name 
did not start with a forward slash, it would have been executed by ISQL. 
This behavior was incorrect and now the file is always executed, even 
if it starts with a forward slash. This problem was most serious on 
non-Windows platforms such as Solaris and Linux where the forward slash 
is used as the directory separator character.


================(Release Build  - Engineering Case #271507)================

ISQL would have reported an internal error if a HELP statement was executed 
when running in interactive console mode, while not connected to a database. 
This has been fixed



================(Release Build  - Engineering Case #271759)================

The utility, dbtran, did not work when using the dbkey connection parameter 
to specify the encryption key. The error 'Incorrect or missing encryption 
key' would have been displayed. The problem has now been fixed.


================(Release Build  - Engineering Case #271777)================

LONG VARCHAR values were being truncated in files generated by ISQL's 
OUTPUT statement. The truncation would happen if the following conditions 
were all true:
1 - DBISQL was run in windowed mode. The bug did not affect batch operations. 
2 - The result set being exported consisted of fewer rows than the 
"Maximum number of rows to display" limit.
3 - The LONG VARCHAR value was longer than the setting of the "Truncation 
length" setting. 
This is now fixed.



================(Release Build  - Engineering Case #272215)================

The fetching of execution plans, that took a long time to run, was not 
interruptable. For example, if you entered 

            SELECT * FROM employee AS e1, 
                          employee AS e2, 
                          employee AS e3

in the "SQL Statements" field, pressed SHIFT+F5 to get the plan, then 
pressed CTRL+BREAK to cancel the operation, DBISQL would have been left 
in an unpredictable state. Usually, the "Stop" toolbar button was enabled, 
but the software was not responsive, or subsequently reported an internal 
error. This problem was especially prevalent if the default plan option 
is to display a graphical plan with statistics. This problem has been 
fixed, so that you can now successfully cancel getting the plan.

A related bug was also fixed, which caused DBISQL to become unresponsive, 
if executing statements which took a long time to prepare on the server.


================(Release Build  - Engineering Case #272348)================

Errors in batches of statements were not being consistently reported. 
(a "batch" in this sense is a sequence of SQL statements which are NOT 
separated by command delimiters). For example, with the "Show multiple 
result sets" option turned on, entering the following lines in the "SQL 
Statements" field and pressing F5 to execute:

            select 1
            select 2 from bogus_table

would have shown only the first result set, (containing the number 
"1"), but there would have been no indication that the second result 
set could not be executed. Now, the error message from the second SELECT 
statement is displayed.



================(Release Build  - Engineering Case #272099)================

Prior to this fix, interrupting long-running OUTPUT or INPUT statements 
was not possible. Also, the messages saying that the OUTPUT or INPUT 
statement was cancelled by the user are displayed in the "Messages" 
window.

While investigating this bug, some performance enhancements were made 
which increase the speed of the OUTPUT statement by up to about 370%, 
and the INPUT statement by about 350%.



================(Release Build  - Engineering Case #269810)================

If a failure occured when attempting to rename the active transaction 
log during a backup, a partial log file in the backup directory would 
not be erased after the failure. With this change the partial log is 
now erased.


================(Release Build  - Engineering Case #272498)================

Attempting to execute a statement which contained mismatched "/* ... 
*/" style comments, would have caused the statement to fail to execute, 
even after the mismatch was corrected. The problem corrected itself 
if the comments were removed or another ISQL window was opened. This 
problem has now been fixed.


================(Release Build  - Engineering Case #272686)================

The Help button on the Connect dialog was not enabled.  This has been 
fixed.



================(Release Build  - Engineering Case #272689)================

Inserting a file, (by clicking the "Edit/Insert File" menu item), did 
not replace the selected text, if any. Now it does.


================(Release Build  - Engineering Case #272698)================

If an OUTPUT statement failed, a message would have been displayed in 
the "Messages" window, and execution of SQL statments would have continued 
unconditionally. Now, if an OUTPUT statement fails, a dialog is shown 
to the user. If there are more statements to execute, the user is additionally 
given the option of executing them or of stopping immediately. This 
is the usual error notification scheme used for SQL statements.    



================(Release Build  - Engineering Case #265773)================

The procedure debugger did not show a usage dialog when typing dbprdbg 
/?.  This has been fixed.



================(Release Build  - Engineering Case #273486)================

If dbbackup -x was run from a client machine and a mirror log existed 
for the database being backed up, then the renamed mirror log was not 
being removed. This is now fixed.


================(Release Build  - Engineering Case #273297)================

Dragging down the scroll bar on the results table, while dbisql was 
fetching rows from the database, could have caused it to hang. This 
problem has now been fixed.


================(Release Build  - Engineering Case #258645)================

If the full path to the active transaction log, including the file name, 
exceeded 70 characters, then there were two
problems.  First, dbbackup -x would have failed to delete the renamed 
transaction log. Second, dbbackup -r -n would have used the wrong filename 
in the backup directory when renaming the recently backed up transaction 
log to match the renamed log.


================(Release Build  - Engineering Case #274514)================

The START DATABASE ... ON statement was incorrectly starting the given 
database on the engine to which you were currently connected rather 
than the one named in the ON clause. This has been fixed.



================(Release Build  - Engineering Case #274993)================

The following problems with using variants of the SET OPTION statement 
to change the command delimiter have been fixed:
 
1 - Using the TEMPORARY keyword and qualifing the option with a userid, 
that did not match what was expected by the database, would have caused 
the error "You cannot set a temporary option for another user." For  
example, if you logged in as "dba", the following statement would cause 
an error:

               SET TEMPORARY OPTION dba.command_delimiter=';'

 but the following would not:

               SET TEMPORARY OPTION DBA.command_delimiter=';'


2 - Setting the command delimiter to two semi-colons caused an erroneous 
syntax error if the statement itself was terminated by a semicolon. 

               SET TEMPORARY OPTION command_delimiter=';;';
               MESSAGE 'Working' TO CLIENT



================(Release Build  - Engineering Case #275143)================

Running dbunload -ar could have given  an error "Table rs_lastcommit 
already exists", causing the unload/reload to fail. This problem, which 
is now fixed, should only have affected databases that were involved 
in replication.


================(Release Build  - Engineering Case #275475)================

When attempting to use any of the database tools, (e.g. dblog), on database 
files larger than 2GB, the following error message was displayed on 
UNIX platforms:

The database file "X" is too large to be handled by this operating 
system.

This is now fixed


================(Release Build  - Engineering Case #275584)================

Running 'dbunload -ar -c dba,sql' on a database that was already running 
would have looped forever. This is now fixed.


================(Release Build  - Engineering Case #276195)================

Unloading a database using the dbunload utility, with one of the external 
unload options, (ie -xi or -xx), using the Java version of Sybase Central, 
or calling the DBUnload function in the dbtools dll could have resulted 
in the column data being unloaded in a different column order than that 
specified in the reload.sql file.  This could have resulted in conversion 
errors when reloading the data. This problem is now fixed.


================(Release Build  - Engineering Case #276698)================

An attempt to start a local personal server would have failed, (Assuming 
a valid userid/password and database file name), if:
1 -The "Search network for database servers" box was checked, and the 
connection failed, then
2 - Connection was retried with the "Search network for database servers" 
box unchecked.
	   
Note, this problem, which is now  fixed, actually affected all of the 
ASA Java administration tools.


================(Release Build  - Engineering Case #272349)================

When editing table data using DBISQL or Sybase Central, all column values 
were being updated with the values displayed in the table, not just 
the columns modified. This was not appropriate because it prevented 
computed values from ever changing. For example, consider the table 
created as follows:

            CREATE TABLE test ( c1 INT PRIMARY KEY, 
                                c2 INT, 
                                c3 TIMESTAMP DEFAULT TIMESTAMP )

If an existing row was edited, such that the value for "c2" was modified, 
the value for "c3" was held at its old value and was not allowed to 
change. If "c3" was being was to keep track of the time the row was 
last modified, this behavior precluded using ISQL to modify the data, 
since the timestamp was never recomputed. 

Now, only those column values which are actually changed by the user 
are sent to the database. This also results in better ISQL performance, 
and it has the benefit of allowing computed values such as "c3" (above) 
to change. 



================(Release Build  - Engineering Case #277863)================

When  jConnect or Open Client applications obtained the list of supported 
database functions, via some metadata call, the DATEPART function was 
misspelled and was returned as DATPART. Once this fix is applied, the 
problem will be corrected for new databases, but existing databases 
will have to be upgraded.


================(Release Build  - Engineering Case #278197)================

When at a breakpoint in the Database Object Debugger, if "Connection->Release 
All" was selected from the menu, it would have been left in a bad state, 
likely causing an exception. This has been fixed.


================(Release Build  - Engineering Case #278222)================

The following Multi-Byte Character Set issues have been fixed:

1 - On machines that used double-byte character sets, (e.g. Japanese), 
the progress bar would be left behind on the status bar, after opening 
a file by clicking the "File/Open" in the menu.

2 - When running dbisql in console mode, the status messages from the 
INPUT and OUTPUT statements were not been completely erased after the 
statement completed, if the message contained any double-byte characters.

3 - Some of the explanatory text in the Import Wizard would have been 
clipped on some machines.




                             ****************                             
                             **  Mobilink  **                             
                             **            ** 
                             ** ASA Client **                             
                             ****************                             

================(Release Build  - Engineering Case #267635)================

When the MobiLink clint for ASA received a 32767 byte varchar value 
in the upload stream, it would have raised one of the following warnings, 
depending on the nullability of the column:
	1. "Invalid character data encountered in upload -- using empty string."; 
or
	2. "Invalid character data encountered in upload -- using NULL."

The consequence was that the original remote data and the consolidated 
data would have been destroyed. MobiLink 7.0.x may even have overrun 
the value buffer and caused further corruption. This problem have been 
fixed of MobiLink.


================(Release Build  - Engineering Case #268995)================

Pressing the CANCEL button in the DBMLSync dialog, would have caused 
dbmlsync to exit, but the system tray icon would have remained remained 
until the cursor was moved over it. This has now been fixed.


================(Release Build  - Engineering Case #269319)================

In an ASA consolidated database, if the database option "Chained" was 
set to "Off" and a failure happened in the middle of the upload transaction, 
the first part of this transaction could have been automatically committed 
and Mobilink server would not have been able to rollback the upload 
transaction. In a remote ASA database, if the database option "Chained" 
was set to "Off" and a failure occured in the middle of the download 
stream, the first part of the transaction could have been automatically 
committed and DBMLSync would not have been able to rollback the download 
transaction. The Mobilink  synchronization server, and DBMLSync, now 
temporarily set the "Chained" to 'On'.


================(Release Build  - Engineering Case #269818)================

When preparing the upload stream, dbmlsync may have displayed a message 
box with the title "Assertion Failure" and a message like, (the line 
number might vary slightly but the filename should be the same):
	"file 'dbtools\.\mergeupd.c at line #830 Try to enter debugger?".

This message would have been displayed when the following conditions 
were met:
1) the publication being synchronized (say P1) had a where clause on 
some table (say T1)
2) a row (say R1) was inserted into T1 that did not belong to any publication
3) R1 was updated so that it belonged to P1
4) there was at least one publication that was not synchronized between 
the time when R1 was inserted and the time when it was updated.

This has now been fixed.


================(Release Build  - Engineering Case #270175)================

Specifying the -v command line switch on dbmlsync, produced more output 
during the download phase than was produced when the verbose extended 
option was specified. This has been fixed.



================(Release Build  - Engineering Case #270198)================

If a site script was specified using either the -i command line switch 
or the SiteScriptName extended option and the script did not explicitly 
commit or rollback all its operations, then dbmlsync's behavior was 
inconsistent.  In most cases, uncommited changes would never have been 
committed and would be lost.  If an sp_hook_dbmlsync_end hook procedure 
was defined, then the changes would have been committed. Dbmlsync now 
does an explicit commit after the site script runs, if the script completes 
successfully.   If an error occurs during script processing, a rollback 
is done.


================(Release Build  - Engineering Case #270978)================

Sometimes dbmlsync would have failed to upload all the operations on 
the remote database.  Operations that were not uploaded, would not have 
been uploaded in the future.  This behaviour occurred sporadically, 
when all the following are true
1 - The mobilink user being synchronized was subscribed to at least 
2 publications, say P1 and P2. P1 and P2 both referenced some table 
T1.
2 - One or both of P1 and P2 contained a where clause on T1 such that 
some rows belong to P2 but not P1. P1 is being synchronized 
3 - Since the last synchronization, an operation had occurred to a 
row in T1 that belonged to P2 but not to P1.

This has been fixed.


================(Release Build  - Engineering Case #270994)================

Dbmlsync would have uploaded rows that had been updated, even when no 
column in the publication changed. This problem occurred when a table, 
say T1, was included in a publication and column subsetting was used 
to exclude some columns from the publication.
For example:

Create publication P1 (
	Table	T1( pk, c1)
)

In this case, if an update was applied to a row in T1 and the update 
only changed columns that were not included in the publication, the 
update would have been uploaded anyway.  The pre-image and post-image 
for the update would have been the same when it was uploaded and Mobilink 
would have generated a warning and ignored the operation

This was only a performance issue, it should never have lead to other 
problems.



================(Release Build  - Engineering Case #270961)================

If the database option, 'Timstamp_format', was set to a format that 
could have been interpretted ambiguously, then dbmlsync would have generated 
an error message like the following during synchronization.

SQL statement failed: (-157) Cannot convert 01-28-2002 08:50:10.047 
to a timestamp

Despite the error message, synchronization would appear to complete 
successfully, even though it didn't



================(Release Build  - Engineering Case #272117)================

The dbmlsync truncation point did not advance when it should have. This 
problem prevented the server from deleting old logs. This problem is 
now fixed.



================(Release Build  - Engineering Case #272610)================

Dbmlsync could have reported an error like the following:

SQL Statment failed: (-130) Invalid Statment

when it was run so that more than one synchronization was completed 
before the program shut down.  This could have been achieved by specifying 
the -n switch more than once on the command line or by using scheduling 
options. This problem is now fixed.



================(Release Build  - Engineering Case #275482)================

When running on the CE emulator, DBMLSync would have failed to load 
shared stream libraries. This problem is now fixed.




                           *********************                           
                           **    Mobilink     **                           
                           **                 ** 
                           ** HotSync Conduit **                           
                           *********************                           

================(Release Build  - Engineering Case #272442)================

If an application tried to synchronize with the HotSync conduit before 
it had been launched, the conduit may have hung or crashed. This is 
now fixed.



================(Release Build  - Engineering Case #273462)================

When the client stream parameters included security parameters, the 
Hotsync log would have shown -620 (could not load library). This is 
now fixed.





                  **************************************                  
                  **             Mobilink             **                  
                  **                                  ** 
                  ** Java Provider for Sybase Central **                  
                  **************************************                  

================(Release Build  - Engineering Case #269217)================

From the Add Connection/Table Script wizard, no scripts could have been 
added for a newly created script version if the event list of one of 
the script versions was empty. This is now fixed.


================(Release Build  - Engineering Case #270200)================

The MobiLink Plugin was showing misleading messages when scripts were 
tested using the Test Script dialog. This has been fixed.



================(Release Build  - Engineering Case #274774)================

The MobiLink Plugin was not able to delete synchronized tables from 
a DB2 consolidated, due to a problem where object names were being truncated 
to 18 characters. This problem is now fixed.


================(Release Build  - Engineering Case #276280)================

When Sybase Central was run on Windows XP, the MobiLink Services folder 
was not appearing, this has now been fixed.




                              **************                              
                              ** Mobilink **                              
                              **          ** 
                              ** Streams  **                              
                              **************                              

================(Release Build  - Engineering Case #274227)================

In certain cases, Windows CE will prepend "WCE_" to a class name registered 
with the Windows API call RegisterClass.  The device side of the ActiveSync 
provider has been modified to do an additional search for an application 
running on the device with "WCE_" prepended to the class name specified 
by the user, if it fails to find an application with the specified class 
name.  Note that users can manually add the "WCE_" themselves when informing 
the ActiveSync provider of the application's class name.


================(Release Build  - Engineering Case #276846)================

The ActiveSync provider would have ended a synchronization prematurely, 
if the application had not received conformation of the upload stream 
in the previous synchronization. This is now fixed.



================(Release Build  - Engineering Case #278973)================

An ActiveSync synchronization would have failed if multi-byte characters 
were used in the application's class name or file path. This is now 
fixed.






                       ****************************                       
                       **        Mobilink        **                       
                       **                        ** 
                       ** Synchronization Server **                       
                       ****************************                       

================(Release Build  - Engineering Case #267539)================

When dbmlsync encountered a packed row of size greater than 64k, (excluding 
clob/blob), during upload log scanning, it would have given the following 
error.
	"An oversized upload row was encountered at offset XXXX"
DBMLSync would then have aborted the synchronization. This limit has 
now been removed.


================(Release Build  - Engineering Case #267969)================

When using Adaptive Server Enterprise as the cosolidated DBMS, BLOBs, 
(ie TEXT, IMAGE), would have been silently truncated to 4K when being 
downloaded. Uploading BLOBs larger than 4K were not affected by this 
problem. A workaround would have been to set a hidden switch, StaticCursorLongColBuffLen, 
in the DSN for the ASE ODBC driver.   This is no longer required.


================(Release Build  - Engineering Case #268177)================

The MobiLink server may have crashed when logging a time or timestamp 
value. This has now been fixed.


================(Release Build  - Engineering Case #268311)================

Many of the error messages written to the Mobilink log by errors in 
JAVA synchronization logic, include a class name and method name. Some 
of these error messages did not correctly print the Java class name 
and method name. The name was either missing or garbage. This has now 
been fixed.


================(Release Build  - Engineering Case #273723)================

If there were DML statements in the authenticate_user and/or authenticate_user_hashed 
scripts, the Mobilink server may have shown incorrect behavior, such 
as thread-blocking.  This was due to the Mobilink server not issue a 
commit or rollback after authenticating the user. This has been fixed.


================(Release Build  - Engineering Case #268997)================

When dbmlsync was first launched, the cursor was placed in the password 
field of the connect dialog. This behavior has been changed so that 
when first launched, the cursor will be placed in the user id field. 
Subsequent launches remains context sensitive, (e.g. ml password problem 
will cause the cursor to be in the password field).


================(Release Build  - Engineering Case #262965)================

With Unicode binding, MobiLink would have crashed when doing clob conflict 
resolves or delete synchronizations against Oracle or ASE. This has 
been fixed.



================(Release Build  - Engineering Case #271801)================

An upload stream, containing both inserts and updates, may have resulted 
in an error.  Reading the MobiLink log may have revealed that data, 
intended for update, was actually being inserted. This has been fixed, 
but workarounds are:
1.  Only use statement-based scripts
2.  Use the switch s1 to force all inserts to be performed in a non-batch 
mode


================(Release Build  - Engineering Case #272716)================

For SQL statements with BLOB columns, IBM's DB2 ODBC driver responds 
that Keyset-driven cursors are supported, but it actually only supports 
forward-only cursors.  This was causing MobiLink to crash doing conflict 
resolve synchronizations. A work around for this has been implemented.


================(Release Build  - Engineering Case #270988)================

Under certain conditions, some UltraLite updates would never be uploaded. 
The requirements were as follows:
1) The UltraLite application synchronized in one of the following two 
ways:
a) A normal synchronization with a download transaction committed, 
but with the download acknowledgement successfully sent by the remote, 
and the MobiLink server does not get a chance to commit the download 
transaction. This was most likely to happen if the server machine suddenly 
lost power.
b) A successful upload-only synchronization.
The key point is that afterwards, in the consolidated database, the 
ml_user.commit_state is 2 for the MobiLink user in question.

2) The UltraLite application performed and commited some updates (ie. 
INSERTs, UPDATEs, and/or DELETEs).

3) The UltraLite application attempted to synchronize, but the upload 
was lost on the wire, and MobiLink never applied it. At this point, 
the UltraLite runtime did not know whether or not the MobiLink server 
applied the upload or not.

4) The UltraLite application attempted to synchronize again. When in 
the uncertain state resulting from (3), the UltraLite runtime asks the 
MobiLink server whether or not the upload was applied. The MobiLink 
server would have  said "yes", even though the upload was never applied. 
Thus, the UltraLite operations from (2) were never uploaded.

NOTES:
1) A workaround policy is to make sure UltraLite users postpone remote 
changes until AFTER they synchronize successfully after a failed synchronization.
2) If UltraLite clients with this EBF fix connect to a MobiLink server 
without the EBF fix, then the MobiLink server will report a "Protocol 
version mismatch", and the UltraLite remote will get a SQLCODE of -85 
(SQLE_COMMUNICATION_ERROR). It is always best to upgrade your MobiLink 
server before you upgrade your remotes.


================(Release Build  - Engineering Case #273743)================

The following sequence, which only applied to UltraLite remotes, would 
have resulted in a failed synchronization:

1) Synchronize normally
2) Synchronize such that the upload is sent to MobiLink Server, but 
before the server could acknowledge the upload, the network connection 
is lost. The MobiLink server must have started applying the upload, 
but rolled back due to some error.
3) Synchronize normally. (This synchronization includes a special protocol 
sequence to determine the fate of the lost upload in step (2)).
4) Synchronize normally. This will fail with the following error in 
the MobiLink Log:

Error: The remote database may have been restored from backup, or perhaps 
user name 'user_name' is being used by different remote databases. Set 
ml_user.commit_state to zero to re-enable synchronizations for this 
user.

Just as the error states, synchronizations could only be re-enabled 
by resetting the ml_user.commit_state for that user.

This is now fixed and is a server side only change.


================(Release Build  - Engineering Case #274666)================

The DataDirect DB2 Wire Protocol Drivers 3.7, 4.0 and 4.1 only support 
a maximum blob column size of 32k. Binding a blob column with a size 
bigger than 32767 bytes, would have caused Mobilink to crash. MobiLink 
nows uses the maximum size supported by the driver.


================(Release Build  - Engineering Case #274784)================

The MobiLink Server's command line java language options were specified 
with the flags "-sl java (...)". If the token "java" was not lower case 
the JVM would have failed to load. The language token is now case insensitive.


================(Release Build  - Engineering Case #275798)================

The Mobilink Server could have crashed when stopped in forced shutdown 
mode (ie dbmlstop -f). This is now fixed.



================(Release Build  - Engineering Case #279113)================

The MobiLink Server deadlock recovery delay, optionally specified with 
the -rd switch, is specified in seconds, but was being interpreted as 
milliseconds on WIndows platforms. When a deadlock occurred, the shorter 
delay could cause more deadlock retries, and possibly more failed synchronizations, 
(when the retry limit was exceeded). This  is now fixed.




                              ***************                              
                              ** Mobilink  **                              
                              **           ** 
                              ** Utilities **                              
                              ***************                              

================(Release Build  - Engineering Case #271218)================

Dbmlstop might have waited for a MobiLink server to shutdown, even though 
the wait switch (-w) was not specified. This is now fixed.




                              **************                              
                              ** Mobilink **                              
                              **          ** 
                              ** scripts  **                              
                              **************                              

================(Release Build  - Engineering Case #272738)================

On Microsoft SQL Server the Mobilink system tables could have been created 
with ANSI_PADDING set ON. This would have caused all string values in 
these tables to appear with extra spaces. The setup script now turns 
ANSI_PADDING OFF before creating any tables.





           *****************************************************           
           **     SQL Remote for Adaptive Server Anywhere     **           
           **                                                 ** 
           ** Extraction Utility for Adaptive Server Anywhere **           
           *****************************************************           

================(Release Build  - Engineering Case #237758)================

When executing dbxtract on an active database using isolation  level 
3 (-l 3 switch), it was possible that the resulting remote database 
might fail to build, giving a foreign key violation  when loading data 
into a child table.  This only happened if an internal unload was used, 
which was the default.  The problem did not exist when an external unload 
was used.




             *************************************************             
             **   SQL Remote for Adaptive Server Anywhere   **             
             **                                             ** 
             ** File Messaging for Adaptive Server Anywhere **             
             *************************************************             

================(Release Build  - Engineering Case #268503)================

SQL Remote may have hung if non-English data was used with the FILE 
message type. This has been corrected. Note that dbisqlc.exe was also 
affected by this problem, as described in QTS 268506.






               *********************************************               
               ** SQL Remote for Adaptive Server Anywhere **               
               **                                         ** 
               **        SQL Remote Message Agent         **               
               *********************************************               

================(Release Build  - Engineering Case #267980)================

SQL Remote or Microsoft Windows, may have crashed if an error occured 
in the Message Link. This would have occurred if the publisher address 
was NULL or an empty string or if it could not make a connection to 
the message server with the given host name, user name and password.




                        ***************************                        
                        **       UltraLite       **                        
                        **                       ** 
                        ** Analyser Java Classes **                        
                        ***************************                        

================(Release Build  - Engineering Case #273968)================

After synchronization, the autoincrement counter may have needed to 
be advanced, to account for downloaded rows.  If the autoincrement column 
was part of a multi-column index, then the counter would not have been 
advanced.  This would have resulted in uniqueness violations on subsequent 
inserts. This problem is now fixed.



================(Release Build  - Engineering Case #274983)================

The analyzer would return an empty string when concatenating null arguments, 
(like SELECT STRING(c1, c2) where c1 and c2 were both null).  The correct 
result is to return null.  NULL should be returned from the STRING()
function if all arguments are null.  This is now the behaviour.




                           ********************                           
                           **   UltraLite    **                           
                           **                ** 
                           ** Code Generator **                           
                           ********************                           

================(Release Build  - Engineering Case #268512)================

The UltraLite analyzer would have incorrectly optimized SELECT count(col_name) 
to SELECT count(*). This has been fixed.


================(Release Build  - Engineering Case #269053)================

When generating C++ code, the header file containing the Table/Database 
data started with the following code:
#ifndef _ul_db_H_INCLUDED
#define _ul_db_H_INCLUDED
The endif for this code was placed before the end of the file, so if 
the file was directly included, the compiler could have complained about 
redefinition of structures.  Now, it is at the end of the file.


================(Release Build  - Engineering Case #269091)================

The #defines for publication identifiers were being generated in the 
C++ file rather than the header file.  This made them inaccessable to 
other modules. This has now been fixed.


================(Release Build  - Engineering Case #271181)================

The UltraLite analyzer would have generated the constant value -2147483648, 
if a statement referenced that value, (for example SELECT hextoint('80000000' 
)).  Some compilers generate a warning about this.  For example, the 
Watcom compiler generates: Warning! W887: col(64) unary '-' of unsigned 
operand produces unsigned
result  The UL analyzer now generates (-2147483647-1), which is the 
way the Watcom compiler handles this value.


================(Release Build  - Engineering Case #273769)================

Some Palm UltraLite applications were failing to compile properly because 
they were running out of data space, due to the analyzer generating 
too much static data.  The analyzer still generates this code, but it 
now also generates code that can allocate more of the data dynamically. 
The compiler macro that controls this is called UL_ENABLE_PLAN_ALLOC.

For Palm, the default is that this flag is set, for all other platforms 
it is not set.  To compile an application for Palm using the statically 
allocated data, the UL_ENABLE_PLAN_STATIC compiler macro should be defined. 
While dynamic allocation of data is possible on non-Palm platforms (by 
adding the compile macro UL_ENABLE_PLAN_ALLOC), it is only *supported* 
on Palm.


================(Release Build  - Engineering Case #274697)================

When generating code, the UltraLite analyzer could produce an error 
message like the following:
error: longvarchar/longbinary column cannot be part of an index.  Table: 
tmptbl_17; Index: _15.

The error message was displayed when a plan for a statement included 
a temporary table with an index on a longvarchar or longbinary column.  
If the table were not a temporary table, the name and index name would 
have been enough to diagnose the problem.  However, given this error 
message, it would have been very difficult to determine which statement 
was the cause of the problem.

The analyzer will now generate the file and line number, (or statement 
name), of the offending statement.




                         ************************                         
                         **     UltraLite      **                         
                         **                    ** 
                         ** CodeWarrior plugin **                         
                         ************************                         

================(Release Build  - Engineering Case #267535)================

The UltraLite plugin for CodeWarrior has been updated to support CodeWarrior 
8 for Palm. For this version of the UltraLite plugin, UltraLite projects 
will still be linked against the CodeWarrior 7 version of UltraLite 
runtime library.


================(Release Build  - Engineering Case #270686)================

The UltraLite CodeWarrior plugin always showed that the data for the 
settings panel in a target of a project, had been updated, whenever 
the CodeWarrior project was opened, even if nothing had changed. This 
has been fixed.


================(Release Build  - Engineering Case #271512)================

The UltraLite plugin for CodeWarrior has been updated to support CodeWarrior 
8 for Palm devices.


================(Release Build  - Engineering Case #275422)================

The install batch file for the CodeWarior plugin has been enhanced as 
follows: 
- No default version is offered from the batch file. (That means, the 
batch file now takes exactly two arguments.) 
- The CodeWarrior version is now verified, where valid versions are 
6, 7, or 8
- The CodeWarrior install directory is verified by the existence of 
the executable %CodeWarrior%\bin\IDE.exe. 
- Plugin files are only copied if the CodeWarrior version and install 
directory are valid.

Please note that double quotes are still required when the path has 
spaces.

Different installation batch files, (ie install{6|7|8}.bat),  for CW6, 
CW7, and CW8 have also been added. The batch files take only one argument, 
that is the CodeWarrior{6|7|8} install directory. Double quotes are 
required when directory has spaces.




                           *********************                           
                           **    UltraLite    **                           
                           **                 ** 
                           ** MobiLink Server **                           
                           *********************                           

================(Release Build  - Engineering Case #273851)================

If an error, (eg. communications error or device is reset), occured 
during an upload of data using the Palm conduit and then the next sychronization 
used regular non-conduit synchronization, then it would have been in 
a bad state and always failed with a -300 error.   This error would 
have continued to occur until a successful synchronization completed 
using the Palm conduit.  Regular synchronization was unable to recover 
from errors that occurred during a Palm conduit synchronization. Conversly, 
Palm conduit synchronizations couldn't have recovered from errors during 
a regular synchronization either and would be stuck with the same -300 
errors.

As a work around to get out of this bad state, synchronization with 
the method which caused the initial error.

This fix makes conduit and non-conduit synchronizations fully compatible 
with each other.




                          ***********************                          
                          **     UltraLite     **                          
                          **                   ** 
                          ** Runtime Libraries **                          
                          ***********************                          

================(Release Build  - Engineering Case #268703)================

If a memory allocation failed while parsing the synchronization parameters, 
or if incorrectly formatted parameters were supplied, the synchronization 
would proceed, with possibly unpredicable results. Now an error is returned 
and no synchronization is performed.


================(Release Build  - Engineering Case #269495)================

UltraLite could position on an incorrect row of a result set. With the 
following sequence of fetches, UltraLite would end up on the wrong row 
(in C):
FETCH ABSOLUTE 1
FETCH RELATIVE 1
FETCH RELATIVE -1
FETCH RELATIVE 1
FETCH ABSOLUTE 5

Similarly, in Java the following sequence would position on the wrong 
row:
FETCH ABSOLUTE 1
FETCH RELATIVE 1
FETCH RELATIVE -1
FETCH ABSOLUTE -1


================(Release Build  - Engineering Case #270436)================

When working with BLOBs greater than 32K in an UltraLite database, the 
DECL_LONGBINARY/VARCHAR datatype needs to be used.  This structure contains 
a field called "array_len" that stores the number of bytes allocated 
for this BLOB and another field called "stored_len" that stores the 
number of bytes to be written to, (or read from), the database.  Thus 
stored_len can be less than or equal to array_len. When writing data 
to an UltraLite database, the runtime was writing all the bytes allocated, 
instead of just the ones set.  This has been fixed.


================(Release Build  - Engineering Case #270963)================

Executing a query containing LIKE, (ie  " ... WHERE column LIKE :host_variable"), 
may have had poor performance, (or possibly incorrect results), under 
the following conditions. The UNICODE version of the UltraLite runtime 
libraries must have been used and there had to have been an index on 
the host variable column.  This has now been fixed.


================(Release Build  - Engineering Case #271134)================

The C/C++ Ultralite runtime might have copied fewer characters than 
required when copying Unicode character strings,as the target string 
was not being calculated correctly. This has been fixed.


================(Release Build  - Engineering Case #271440)================

Under Java Ultralite, an SQLException was not being thrown when insertions 
failed. This has been fixed.


================(Release Build  - Engineering Case #272308)================

The behaviour of Adaptive Server Anywhere, when converting between binary 
and integer values, was changed to be consistent with Adaptive Server 
Enterprise and Microsoft SQL Server, (see QTS 270989).  This fix makes 
UltraLite consistent with ASA.


================(Release Build  - Engineering Case #272494)================

After synchronizing wirelessly with a Palm device, MobiLink worker threads 
would wait until the socket keepalive mechanism kicked in. The default 
delay for keepalive is 2 hours under Windows. While the worker threads 
were waiting, the MobiLink user, whose request it was processing could 
not synchronize., (the remote would have received an "already synchronizing" 
error). The user would have had to wait out the keepalive interval before 
being able to synchronize again. The long keepalive timeout in the Palm 
OS TCP/IP code has now been worked around



================(Release Build  - Engineering Case #275563)================

For the Pocket PC 2002 SDK, Microsoft has rewritten the emulator to 
execute "true" x86 code.  This means that UltraLite applications written 
for the new emulator must link against %ASANY8%\ultralite\ce\386\ulrt.lib, 
not %ASANY8%\ultralite\ce\emulator30\ulrt.lib. Support for this has 
now been added.

The PPC 2002 emulator has the ability to connect to ActiveSync (connect 
COM1 and COM2 with a serial cable and configure the emulator to use 
one of the ports).  In fact, the emulator must be connected to ActiveSync 
for synchronization with MobiLink to work.  Also, ULActiveSyncStream 
can now be used in this emulator.  Running dbasinst will setup the ActiveSync 
provider correctly on the emulator, as long as it is connected to ActiveSync.

Another new feature of PPC 2002 is that devices can now create direct 
TCP/IP connections to any other machine on the network through ActiveSync.  
This means that UltraLite applications can use the regular ULSocketStream 
to connect to a MobiLink running on any machine on the network, instead 
of needing to use ULActiveSyncStream or setup a RAS server on the desktop.

Both x86 debug and production targets have been added to the embedded 
Visual C++ CustDB project.  The Pocket PC 2002 SDK must be installed 
for these targets to become available.


================(Release Build  - Engineering Case #274292)================

UltraLite queries that contained the predicate " WHERE col LIKE :host_var" 
could have returned the wrong results.  More specifically, the following 
conditions needed to be met:
a)  There was an index on col
b)  The value of the host variable contained the highest (sorted) character 
before the arbitrary symbol.  For example WHERE col LIKE 'Z%'.
This problem is now fixed.


================(Release Build  - Engineering Case #273036)================

When synchronizing a Palm device, with TCP/IP via RAS, if the end_upload 
event took more than 60 seconds, the device was disconnected. A hardcoded 
timeout for of 60 seconds was implemented to avoid excess battery drain 
during synchronization. Now the parameter "timeout" can be specified 
in the stream_parms of the ul_synch_info to set the number of seconds 
before timeout.  A default of 60 seconds will still be used if the timeout 
parameter is not specified.


================(Release Build  - Engineering Case #255185)================

If multibye characters were used in a LIKE clause, the statement could 
not find any matching multibyte data. This problem only existed on big 
endian platforms such Palm devices. Now this problem has now been fixed.


================(Release Build  - Engineering Case #274803)================

Under Java Ultralite, blob and clob assignment would not have worked. 
When the input was specified as a Java Stream, a null pointer exception 
could have been thrown. This has now been fixed.


================(Release Build  - Engineering Case #276694)================

The default value for the timeout option in the string parameters passed 
to the Java communications layer, (ie "...;timeout=NNNN"), has been 
set to 60000. Previously, it had no default, so no timeout would occur. 
Now, when communication with a MobiLink server is interrupted for the 
timeout time, a communication error is reported by the Java client. 
The value of the option is the number of milliseconds before a network 
call will time out. Thus the new default timeout is now 60 seconds.



This option should only be set if the default timeout of 60 seconds 
is too short. For example, if it is expected that the time between sending 
the upload and receiving the download can reasonably be expected to 
take up to two minutes, then the timeout should be set to 120,000.



Caution: larger timeout values mean potentially longer waits for end 
users before they are notified of a communication error.




                         ************************                         
                         **     UltraLite      **                         
                         **                    ** 
                         ** Sample Application **                         
                         ************************                         

================(Release Build  - Engineering Case #267976)================

The Palm emulator was complaining that there was un-freed memory in 
ULUtil, although the complaint wasn't happening on an actual device. 
From PalmOS 3.1, an application has to make a specific UI call in the 
stop event when working with form resources. This call causes the open 
forms to be properly closed, and their memory freed. This call has now 
been added.


================(Release Build  - Engineering Case #277093)================

The UltraLite sample application,Custdb, was unnecessarily synchronizing 
the ULIdentifyEmployee table.  This caused a warning to be logged by 
MobiLink, (1 row(s) were ignored in updating table ULIdentifyEmployee). 
The ULIdentifyEmployee table was renamed to ULIdentifyEmployee_nosync 
to prevent it from being synchronized.


